xfrm4: Don't call icmp_send on local error
authorSteffen Klassert <steffen.klassert@secunet.com>
Wed, 29 Jun 2011 23:20:41 +0000 (23:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Jul 2011 00:33:19 +0000 (17:33 -0700)
commitb00897b881f775040653955fda99dcf7c167b382
tree95462798585771d75f9a3febe9b2145414f942c4
parentc146066ab80267c3305de5dda6a4083f06df9265
xfrm4: Don't call icmp_send on local error

Calling icmp_send() on a local message size error leads to
an incorrect update of the path mtu. So use ip_local_error()
instead to notify the socket about the error.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/xfrm4_output.c