Re: [PATCHv2] ipv6: ip6mr: Recalc UDP checksum before forwarding

2017-12-16 Thread Brendan McGrath
The network diagram is very simple. It is just: VM <--* MR > PH Where: MR = Multicast Router VM = Virtual Machine (connected by a Virtual Interface using the 'virtio_net' driver) PH = Physical Host (connected by a physical Ethernet connection) * = The interface where the packet orig

Re: [PATCHv2] ipv6: ip6mr: Recalc UDP checksum before forwarding

2017-12-15 Thread David Miller
From: Brendan McGrath Date: Thu, 14 Dec 2017 22:37:03 +1100 > Currently, when forwarding a multicast packet originating from a > Virtual Interface on a Multicast Router to one of its Physical > Interfaces, ip_summed is set to a value of CHECKSUM_UNNECESSARY and > the UDP checksum is not calculate

[PATCHv2] ipv6: ip6mr: Recalc UDP checksum before forwarding

2017-12-14 Thread Brendan McGrath
Currently, when forwarding a multicast packet originating from a Virtual Interface on a Multicast Router to one of its Physical Interfaces, ip_summed is set to a value of CHECKSUM_UNNECESSARY and the UDP checksum is not calculated. The checksum value of the forwarded packet is left as is and there