diff options
author | Eric Dumazet <edumazet@google.com> | 2017-01-18 23:12:17 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-18 23:24:27 +0300 |
commit | 7be2c82cfd5d28d7adb66821a992604eb6dd112e (patch) | |
tree | 43a9e60278228617cef8d236b01a57105ee630a3 /drivers/xen/swiotlb-xen.c | |
parent | d89ede6d8f029d3435d8a1602d21e5be68831369 (diff) | |
download | linux-7be2c82cfd5d28d7adb66821a992604eb6dd112e.tar.xz |
net: fix harmonize_features() vs NETIF_F_HIGHDMA
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>
Diffstat (limited to 'drivers/xen/swiotlb-xen.c')
0 files changed, 0 insertions, 0 deletions