/* * netsniff-ng - the packet sniffing beast * Copyright 2014 Tobias Klauser. * Subject to the GPL, version 2. */ #include "dissector.h" #include "dissector_netlink.h" static inline void dissector_init_entry(int type) { dissector_set_print_type(&nlmsg_ops, type); } static inline void dissector_init_exit(int type) { dissector_set_print_type(&none_ops, type); } void dissector_init_netlink(int fnttype) { dissector_init_entry(fnttype); dissector_init_exit(fnttype); } void dissector_cleanup_netlink(void) { } linux/net-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
path: root/net/caif/caif_socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/caif/caif_socket.c')
a93a2b74430e2ae03e92bd9bc4f303814'>patch)
treece1f74c4aba9a65146a06ccda1080b0eea5d6a20 /net
parentf39b2dde4886450b965ccd0a6defe8bc33fcc938 (diff)
net: cgroups: fix build errors when linux/phy*.h is removed from net/dsa.h
net/core/netprio_cgroup.c:303:16: error: expected declaration specifiers or '...' before string constant MODULE_LICENSE("GPL v2"); ^~~~~~~~ Add linux/module.h to fix this. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/core/netprio_cgroup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/netprio_cgroup.c b/net/core/netprio_cgroup.c