aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netfront.c
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@free.fr>2011-03-14 06:08:07 +0000
committerDavid S. Miller <davem@davemloft.net>2011-03-14 16:54:44 -0700
commit12a2856b604476c27d85a5f9a57ae1661fc46019 (patch)
tree7537a26d442f4d03e2b97535f12923f7f8cecb60 /drivers/net/xen-netfront.c
parentb5ccd07337489fa9c9d32e0b628a2168b7953adf (diff)
downloadkernel_samsung_smdk4412-12a2856b604476c27d85a5f9a57ae1661fc46019.zip
kernel_samsung_smdk4412-12a2856b604476c27d85a5f9a57ae1661fc46019.tar.gz
kernel_samsung_smdk4412-12a2856b604476c27d85a5f9a57ae1661fc46019.tar.bz2
macvlan : fix checksums error when we are in bridge mode
When the lower device has offloading capabilities, the packets checksums are not computed. That leads to have any macvlan port in bridge mode to not work because the packets are dropped due to a bad checksum. If the macvlan is in bridge mode, the packet is forwarded to another macvlan port and reach the network stack where it looks for a checksum but this one was not computed due to the offloading of the lower device. In this case, we have to set the packet with CHECKSUM_UNNECESSARY when it is forwarded to a bridged port and restore the previous value of ip_summed when the packet goes to the lowerdev. Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr> Cc: Patrick McHardy <kaber@trash.net> Cc: Andrian Nord <nightnord@gmail.com> Acked-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions