From: Eric Dumazet Date: Thu, 12 Mar 2015 01:42:02 +0000 (-0700) Subject: xps: must clear sender_cpu before forwarding X-Git-Tag: omap-for-v4.1/fixes-rc1~306^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c29390c6dfeee0944ac6b5610ebbe403944378fc;p=pandora-kernel.git xps: must clear sender_cpu before forwarding John reported that my previous commit added a regression on his router. This is because sender_cpu & napi_id share a common location, so get_xps_queue() can see garbage and perform an out of bound access. We need to make sure sender_cpu is cleared before doing the transmit, otherwise any NIC busy poll enabled (skb_mark_napi_id()) can trigger this bug. Signed-off-by: Eric Dumazet Reported-by: John Bisected-by: John Fixes: 2bd82484bb4c ("xps: fix xps for stacked devices") Signed-off-by: David S. Miller --- Reading git-diff-tree failed