net:dccp: do not report ICMP redirects to user space
authorDuan Jiong <duanj.fnst@cn.fujitsu.com>
Wed, 18 Sep 2013 12:03:27 +0000 (20:03 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Oct 2013 23:08:30 +0000 (16:08 -0700)
commitf25e4f35defd609b3e6ad2ae5e871bdbcc0af333
tree6339668ddabe71b3155830b36c3ee3a9a52a36a8
parente4e7ba12fab4eba6eb6fe2863a6e0e91cd77c7cc
net:dccp: do not report ICMP redirects to user space

[ Upstream commit bd784a140712fd06674f2240eecfc4ccae421129 ]

DCCP shouldn't be setting sk_err on redirects as it
isn't an error condition. it should be doing exactly
what tcp is doing and leaving 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/dccp/ipv6.c