diff options
author | Eric Dumazet <edumazet@google.com> | 2015-07-09 19:56:07 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-10 08:48:42 +0300 |
commit | a7d35f9d73e9ffa74a02304b817e579eec632f67 (patch) | |
tree | f368109fccd33678d6fe881b17b74d1ef20c1114 /net/xfrm/xfrm_hash.h | |
parent | fcc028c106e5750aa66dc43595b3f29f88801ff0 (diff) | |
download | linux-a7d35f9d73e9ffa74a02304b817e579eec632f67.tar.xz |
bridge: fix potential crash in __netdev_pick_tx()
Commit c29390c6dfee ("xps: must clear sender_cpu before forwarding")
fixed an issue in normal forward path, caused by sender_cpu & napi_id
skb fields being an union.
Bridge is another point where skb can be forwarded, so we need
the same cure.
Bug triggers if packet was received on a NIC using skb_mark_napi_id()
Fixes: 2bd82484bb4c ("xps: fix xps for stacked devices")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Bob Liu <bob.liu@oracle.com>
Tested-by: Bob Liu <bob.liu@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_hash.h')
0 files changed, 0 insertions, 0 deletions