diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2016-02-27 20:19:54 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-01 17:36:47 -0500 |
commit | 64d4e3431e686dc37ce388ba531c4c4e866fb141 (patch) | |
tree | a936d2daec492d68a39a23f5c4e5ec09a7339d19 /net/core | |
parent | 8b4837c879176e8d9ab46672cd274c0f8aae4715 (diff) | |
download | blackbird-obmc-linux-64d4e3431e686dc37ce388ba531c4c4e866fb141.tar.gz blackbird-obmc-linux-64d4e3431e686dc37ce388ba531c4c4e866fb141.zip |
net: remove skb_sender_cpu_clear()
After commit 52bd2d62ce67 ("net: better skb->sender_cpu and skb->napi_id cohabitation")
skb_sender_cpu_clear() becomes empty and can be removed.
Cc: Eric Dumazet <edumazet@google.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/filter.c | 2 | ||||
-rw-r--r-- | net/core/skbuff.c | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/net/core/filter.c b/net/core/filter.c index a3aba15a8025..5e2a3b5e5196 100644 --- a/net/core/filter.c +++ b/net/core/filter.c @@ -1597,7 +1597,6 @@ static u64 bpf_clone_redirect(u64 r1, u64 ifindex, u64 flags, u64 r4, u64 r5) } skb2->dev = dev; - skb_sender_cpu_clear(skb2); return dev_queue_xmit(skb2); } @@ -1650,7 +1649,6 @@ int skb_do_redirect(struct sk_buff *skb) } skb->dev = dev; - skb_sender_cpu_clear(skb); return dev_queue_xmit(skb); } diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 488566b09c6d..7af7ec635d90 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -4302,7 +4302,6 @@ void skb_scrub_packet(struct sk_buff *skb, bool xnet) skb->skb_iif = 0; skb->ignore_df = 0; skb_dst_drop(skb); - skb_sender_cpu_clear(skb); secpath_reset(skb); nf_reset(skb); nf_reset_trace(skb); |