]> git.baikalelectronics.ru Git - kernel.git/commit
act_mirred: clear sender cpu before sending to tx
authorWANG Cong <xiyou.wangcong@gmail.com>
Wed, 7 Oct 2015 00:23:47 +0000 (17:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Oct 2015 11:59:04 +0000 (04:59 -0700)
commit381209bc558c01fd8f3659a98c129a92d122dc85
tree51672731493579de68284e7af4cf2bf758cd20a7
parentb774b5e79eb4780695f4a5a3cde0692a6fdccc27
act_mirred: clear sender cpu before sending to tx

Similar to commit 98b2d804180a ("xps: must clear sender_cpu before forwarding")
the skb->sender_cpu needs to be cleared when moving from Rx
Tx, otherwise kernel could crash.

Fixes: 21a6c6b31ab4 ("xps: fix xps for stacked devices")
Cc: Eric Dumazet <edumazet@google.com>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Cong Wang <cwang@twopensource.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_mirred.c