sit: generate icmpv6 error when receiving icmpv4 error
authorOussama Ghorbel <ghorbel@pivasoftware.com>
Fri, 22 Nov 2013 15:23:20 +0000 (16:23 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 Nov 2013 22:46:22 +0000 (14:46 -0800)
commitca15a078bd907df5fc1c009477869c5cbde3b753
tree8bc078836afe69372da00aa7c3d145e4544871c3
parentfb10f802b0fb76079612cb78505cbc9ad81e683b
sit: generate icmpv6 error when receiving icmpv4 error

Send icmpv6 error with type "destination unreachable" and code
"address unreachable" when receiving icmpv4 error and sufficient
data bytes are available
This patch enhances the compliance of sit tunnel with section 3.4 of
rfc 4213

Signed-off-by: Oussama Ghorbel <ghorbel@pivasoftware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/sit.c