]> git.baikalelectronics.ru Git - kernel.git/commit
net: udp: do not report ICMP redirects to user space
authorDuan Jiong <duanj.fnst@cn.fujitsu.com>
Fri, 20 Sep 2013 10:20:28 +0000 (18:20 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Sep 2013 14:15:49 +0000 (10:15 -0400)
commitf4a5cfc01c759c02202fb862044b14ba1ba6591a
tree67d0934fb3e4cad4f9219c7e033d9b0e7856d18b
parenta2ab7d8d9fe035956228dd3ff11b099b50b73f5a
net: udp: do not report ICMP redirects to user space

Redirect isn't an error condition, it should leave
the error handler without touching the socket.

Signed-off-by: Duan Jiong <duanj.fnst@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp.c
net/ipv6/udp.c