aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2017-01-18 12:12:17 -0800
committerMoyster <oysterized@gmail.com>2017-06-17 15:50:52 +0200
commitd42cc26b0c1c55778af6e9155a4cc86cc3888f31 (patch)
treedbfe9938916b476d1cc336057c184f08d5d26d14 /kernel
parent4db7986b47b148dec165eb18018fa7c9a8541d72 (diff)
net: fix harmonize_features() vs NETIF_F_HIGHDMA
commit 7be2c82cfd5d28d7adb66821a992604eb6dd112e upstream. Ashizuka reported a highmem oddity and sent a patch for freescale fec driver. But the problem root cause is that core networking stack must ensure no skb with highmem fragment is ever sent through a device that does not assert NETIF_F_HIGHDMA in its features. We need to call illegal_highdma() from harmonize_features() regardless of CSUM checks. Fixes: ec5f06156423 ("net: Kill link between CSUM and SG features.") Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Pravin Shelar <pshelar@ovn.org> Reported-by: "Ashizuka, Yuusuke" <ashiduka@jp.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions