Re: [PATCH net] ipv6: only apply anti-spoofing checks to not-pointopoint tunnels
From: David Miller <davem@davemloft.net>
Date: 2013-07-01 20:26:52
From: David Miller <davem@davemloft.net>
Date: 2013-07-01 20:26:52
From: Hannes Frederic Sowa <redacted> Date: Thu, 27 Jun 2013 22:46:04 +0200
Because of commit 218774dc341f219bfcf940304a081b121a0e8099 ("ipv6: add
anti-spoofing checks for 6to4 and 6rd") the sit driver dropped packets
for 2002::/16 destinations and sources even when configured to work as a
tunnel with fixed endpoint. We may only apply the 6rd/6to4 anti-spoofing
checks if the device is not in pointopoint mode.
This was an oversight from me in the above commit, sorry. Thanks to
Roman Mamedov for reporting this!
Reported-by: Roman Mamedov <redacted>
Cc: David Miller <davem@davemloft.net>
Cc: YOSHIFUJI Hideaki <redacted>
Signed-off-by: Hannes Frederic Sowa <redacted>Applied and queued up for -stable.