Files
android_kernel_xiaomi_sm8450/include/linux
Eric Dumazet c29390c6df 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 <edumazet@google.com>
Reported-by: John <jw@nuclearfallout.net>
Bisected-by: John <jw@nuclearfallout.net>
Fixes: 2bd82484bb ("xps: fix xps for stacked devices")
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-03-11 23:51:18 -04:00
..
2015-02-19 13:31:40 +03:00
2015-03-03 14:14:26 +00:00
2015-01-29 10:49:28 +02:00
2015-02-18 07:28:37 -08:00
2015-02-02 14:23:42 -08:00
2015-02-12 18:54:15 -08:00
2015-01-25 23:17:28 -05:00
2015-01-27 11:09:13 +01:00
2015-02-13 21:21:36 -08:00
2015-02-17 14:34:51 -08:00
2015-02-11 17:06:02 -08:00
2015-01-25 23:17:28 -05:00
2015-02-17 14:34:52 -08:00
2015-02-16 17:56:03 -08:00
2015-02-13 21:21:41 -08:00
2015-02-13 21:21:35 -08:00