net: raw: do not report ICMP redirects to user space
authorDuan Jiong <duanj.fnst@cn.fujitsu.com>
Fri, 20 Sep 2013 10:21:25 +0000 (18:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Sep 2013 14:15:49 +0000 (10:15 -0400)
commit8d65b1190ddc548b0411477f308d04f4595bac57
tree5a27064eead0557336a558d3ddf8fc6e26fde048
parent1a462d189280b560bd84af1407e4d848e262b3b3
net: raw: 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/raw.c
net/ipv6/raw.c