From: Eric Dumazet Date: Thu, 9 Jul 2015 16:56:07 +0000 (+0200) Subject: bridge: fix potential crash in __netdev_pick_tx() X-Git-Tag: omap-for-v4.3/fixes-merge-window~247^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7d35f9d73e9ffa74a02304b817e579eec632f67;p=pandora-kernel.git 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 Reported-by: Bob Liu Tested-by: Bob Liu Signed-off-by: David S. Miller --- Reading git-diff-tree failed