diff options
author | Edward Cree <ecree@solarflare.com> | 2018-07-02 18:13:11 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-04 08:06:19 +0300 |
commit | 920572b73280a29e3a9f58807a8b90051b19ee60 (patch) | |
tree | 9c328792151515bbc7649d999163aa878f770c90 /net/core | |
parent | e090bfb9f19259b958387d2bd4938d66b324cd09 (diff) | |
download | linux-920572b73280a29e3a9f58807a8b90051b19ee60.tar.xz |
net: core: unwrap skb list receive slightly further
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/dev.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 85c456a4b551..308acfd48139 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -4920,8 +4920,10 @@ void netif_receive_skb_list(struct list_head *head) { struct sk_buff *skb, *next; + list_for_each_entry(skb, head, list) + trace_netif_receive_skb_list_entry(skb); list_for_each_entry_safe(skb, next, head, list) - netif_receive_skb(skb); + netif_receive_skb_internal(skb); } EXPORT_SYMBOL(netif_receive_skb_list); |