aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/loopback.c
diff options
context:
space:
mode:
authorDaniel Borkmann <[email protected]>2013-09-16 10:36:02 +0000
committerDavid S. Miller <[email protected]>2013-09-17 01:40:15 +0000
commit3f96a532113131d5a65ac9e00fc83cfa31b0295f (patch)
treeacf78191cb5bce2865b1055dcbf579e9468b6ac0 /drivers/net/loopback.c
parentnet: usb: cdc_ether: use usb.h macros whenever possible (diff)
downloadkernel-3f96a532113131d5a65ac9e00fc83cfa31b0295f.tar.gz
kernel-3f96a532113131d5a65ac9e00fc83cfa31b0295f.zip
net: sctp: rfc4443: do not report ICMP redirects to user space
Adapt the same behaviour for SCTP as present in TCP for ICMP redirect messages. For IPv6, RFC4443, section 2.4. says: ... (e) An ICMPv6 error message MUST NOT be originated as a result of receiving the following: ... (e.2) An ICMPv6 redirect message [IPv6-DISC]. ... Therefore, do not report an error to user space, just invoke dst's redirect callback and leave, same for IPv4 as done in TCP as well. The implication w/o having this patch could be that the reception of such packets would generate a poll notification and in worst case it could even tear down the whole connection. Therefore, stop updating sk_err on redirects. Reported-by: Duan Jiong <[email protected]> Reported-by: Hannes Frederic Sowa <[email protected]> Suggested-by: Vlad Yasevich <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/loopback.c')
0 files changed, 0 insertions, 0 deletions