diff options
Diffstat (limited to 'net/core')
| -rw-r--r-- | net/core/dev_addr_lists.c | 1 | ||||
| -rw-r--r-- | net/core/fib_rules.c | 1 | ||||
| -rw-r--r-- | net/core/neighbour.c | 6 | ||||
| -rw-r--r-- | net/core/net-sysfs.c | 1 | ||||
| -rw-r--r-- | net/core/net-traces.c | 1 | ||||
| -rw-r--r-- | net/core/net_namespace.c | 1 | ||||
| -rw-r--r-- | net/core/netevent.c | 1 | ||||
| -rw-r--r-- | net/core/netpoll.c | 1 | ||||
| -rw-r--r-- | net/core/skbuff.c | 1 | ||||
| -rw-r--r-- | net/core/timestamping.c | 1 | ||||
| -rw-r--r-- | net/core/user_dma.c | 1 | 
11 files changed, 11 insertions, 5 deletions
| diff --git a/net/core/dev_addr_lists.c b/net/core/dev_addr_lists.c index 283d1b863876..277faef9148d 100644 --- a/net/core/dev_addr_lists.c +++ b/net/core/dev_addr_lists.c | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | 13 | ||
| 14 | #include <linux/netdevice.h> | 14 | #include <linux/netdevice.h> | 
| 15 | #include <linux/rtnetlink.h> | 15 | #include <linux/rtnetlink.h> | 
| 16 | #include <linux/export.h> | ||
| 16 | #include <linux/list.h> | 17 | #include <linux/list.h> | 
| 17 | #include <linux/proc_fs.h> | 18 | #include <linux/proc_fs.h> | 
| 18 | 19 | ||
| diff --git a/net/core/fib_rules.c b/net/core/fib_rules.c index 57e8f95110e6..c02e63c908da 100644 --- a/net/core/fib_rules.c +++ b/net/core/fib_rules.c | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | #include <linux/kernel.h> | 12 | #include <linux/kernel.h> | 
| 13 | #include <linux/slab.h> | 13 | #include <linux/slab.h> | 
| 14 | #include <linux/list.h> | 14 | #include <linux/list.h> | 
| 15 | #include <linux/module.h> | ||
| 15 | #include <net/net_namespace.h> | 16 | #include <net/net_namespace.h> | 
| 16 | #include <net/sock.h> | 17 | #include <net/sock.h> | 
| 17 | #include <net/fib_rules.h> | 18 | #include <net/fib_rules.h> | 
| diff --git a/net/core/neighbour.c b/net/core/neighbour.c index 909ecb3c2a33..039d51e6c284 100644 --- a/net/core/neighbour.c +++ b/net/core/neighbour.c | |||
| @@ -872,12 +872,8 @@ static void neigh_timer_handler(unsigned long arg) | |||
| 872 | now = jiffies; | 872 | now = jiffies; | 
| 873 | next = now + HZ; | 873 | next = now + HZ; | 
| 874 | 874 | ||
| 875 | if (!(state & NUD_IN_TIMER)) { | 875 | if (!(state & NUD_IN_TIMER)) | 
| 876 | #ifndef CONFIG_SMP | ||
| 877 | printk(KERN_WARNING "neigh: timer & !nud_in_timer\n"); | ||
| 878 | #endif | ||
| 879 | goto out; | 876 | goto out; | 
| 880 | } | ||
| 881 | 877 | ||
| 882 | if (state & NUD_REACHABLE) { | 878 | if (state & NUD_REACHABLE) { | 
| 883 | if (time_before_eq(now, | 879 | if (time_before_eq(now, | 
| diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c index 7604a635376b..c71c434a4c05 100644 --- a/net/core/net-sysfs.c +++ b/net/core/net-sysfs.c | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | #include <linux/rtnetlink.h> | 20 | #include <linux/rtnetlink.h> | 
| 21 | #include <linux/wireless.h> | 21 | #include <linux/wireless.h> | 
| 22 | #include <linux/vmalloc.h> | 22 | #include <linux/vmalloc.h> | 
| 23 | #include <linux/export.h> | ||
| 23 | #include <net/wext.h> | 24 | #include <net/wext.h> | 
| 24 | 25 | ||
| 25 | #include "net-sysfs.h" | 26 | #include "net-sysfs.h" | 
| diff --git a/net/core/net-traces.c b/net/core/net-traces.c index 52380b1d552a..ba3c0120786c 100644 --- a/net/core/net-traces.c +++ b/net/core/net-traces.c | |||
| @@ -11,6 +11,7 @@ | |||
| 11 | #include <linux/inetdevice.h> | 11 | #include <linux/inetdevice.h> | 
| 12 | #include <linux/inet.h> | 12 | #include <linux/inet.h> | 
| 13 | #include <linux/interrupt.h> | 13 | #include <linux/interrupt.h> | 
| 14 | #include <linux/export.h> | ||
| 14 | #include <linux/netpoll.h> | 15 | #include <linux/netpoll.h> | 
| 15 | #include <linux/sched.h> | 16 | #include <linux/sched.h> | 
| 16 | #include <linux/delay.h> | 17 | #include <linux/delay.h> | 
| diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c index 5bbdbf0d3664..aefcd7acbffa 100644 --- a/net/core/net_namespace.c +++ b/net/core/net_namespace.c | |||
| @@ -10,6 +10,7 @@ | |||
| 10 | #include <linux/nsproxy.h> | 10 | #include <linux/nsproxy.h> | 
| 11 | #include <linux/proc_fs.h> | 11 | #include <linux/proc_fs.h> | 
| 12 | #include <linux/file.h> | 12 | #include <linux/file.h> | 
| 13 | #include <linux/export.h> | ||
| 13 | #include <net/net_namespace.h> | 14 | #include <net/net_namespace.h> | 
| 14 | #include <net/netns/generic.h> | 15 | #include <net/netns/generic.h> | 
| 15 | 16 | ||
| diff --git a/net/core/netevent.c b/net/core/netevent.c index 865f0ceb81fb..f17ccd291d39 100644 --- a/net/core/netevent.c +++ b/net/core/netevent.c | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | 15 | ||
| 16 | #include <linux/rtnetlink.h> | 16 | #include <linux/rtnetlink.h> | 
| 17 | #include <linux/notifier.h> | 17 | #include <linux/notifier.h> | 
| 18 | #include <linux/export.h> | ||
| 18 | #include <net/netevent.h> | 19 | #include <net/netevent.h> | 
| 19 | 20 | ||
| 20 | static ATOMIC_NOTIFIER_HEAD(netevent_notif_chain); | 21 | static ATOMIC_NOTIFIER_HEAD(netevent_notif_chain); | 
| diff --git a/net/core/netpoll.c b/net/core/netpoll.c index f57d94627a2a..cf64c1ffa4cd 100644 --- a/net/core/netpoll.c +++ b/net/core/netpoll.c | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | #include <linux/rcupdate.h> | 23 | #include <linux/rcupdate.h> | 
| 24 | #include <linux/workqueue.h> | 24 | #include <linux/workqueue.h> | 
| 25 | #include <linux/slab.h> | 25 | #include <linux/slab.h> | 
| 26 | #include <linux/export.h> | ||
| 26 | #include <net/tcp.h> | 27 | #include <net/tcp.h> | 
| 27 | #include <net/udp.h> | 28 | #include <net/udp.h> | 
| 28 | #include <asm/unaligned.h> | 29 | #include <asm/unaligned.h> | 
| diff --git a/net/core/skbuff.c b/net/core/skbuff.c index ca4db40e75b8..18a3cebb753d 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c | |||
| @@ -189,6 +189,7 @@ struct sk_buff *__alloc_skb(unsigned int size, gfp_t gfp_mask, | |||
| 189 | * aligned memory blocks, unless SLUB/SLAB debug is enabled. | 189 | * aligned memory blocks, unless SLUB/SLAB debug is enabled. | 
| 190 | * Both skb->head and skb_shared_info are cache line aligned. | 190 | * Both skb->head and skb_shared_info are cache line aligned. | 
| 191 | */ | 191 | */ | 
| 192 | size = SKB_DATA_ALIGN(size); | ||
| 192 | size += SKB_DATA_ALIGN(sizeof(struct skb_shared_info)); | 193 | size += SKB_DATA_ALIGN(sizeof(struct skb_shared_info)); | 
| 193 | data = kmalloc_node_track_caller(size, gfp_mask, node); | 194 | data = kmalloc_node_track_caller(size, gfp_mask, node); | 
| 194 | if (!data) | 195 | if (!data) | 
| diff --git a/net/core/timestamping.c b/net/core/timestamping.c index 82fb28857b64..661b5a40ec10 100644 --- a/net/core/timestamping.c +++ b/net/core/timestamping.c | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | #include <linux/phy.h> | 21 | #include <linux/phy.h> | 
| 22 | #include <linux/ptp_classify.h> | 22 | #include <linux/ptp_classify.h> | 
| 23 | #include <linux/skbuff.h> | 23 | #include <linux/skbuff.h> | 
| 24 | #include <linux/export.h> | ||
| 24 | 25 | ||
| 25 | static struct sock_filter ptp_filter[] = { | 26 | static struct sock_filter ptp_filter[] = { | 
| 26 | PTP_FILTER | 27 | PTP_FILTER | 
| diff --git a/net/core/user_dma.c b/net/core/user_dma.c index 2d7cf3d52b4c..1b5fefdb8198 100644 --- a/net/core/user_dma.c +++ b/net/core/user_dma.c | |||
| @@ -27,6 +27,7 @@ | |||
| 27 | 27 | ||
| 28 | #include <linux/dmaengine.h> | 28 | #include <linux/dmaengine.h> | 
| 29 | #include <linux/socket.h> | 29 | #include <linux/socket.h> | 
| 30 | #include <linux/export.h> | ||
| 30 | #include <net/tcp.h> | 31 | #include <net/tcp.h> | 
| 31 | #include <net/netdma.h> | 32 | #include <net/netdma.h> | 
| 32 | 33 | ||
