ipv6: fix inet6_csk_update_pmtu() return value
authorEric Dumazet <edumazet@google.com>
Tue, 20 Nov 2012 20:14:51 +0000 (15:14 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Dec 2012 17:27:17 +0000 (09:27 -0800)
commitacc3e478d8d413bf442e788b4f5ee5352dc62040
treede86045a375a0b54c4f98f0a33b4efa515bc6437
parentbe264e172c50e83d50724f03f4fa611f97096880
ipv6: fix inet6_csk_update_pmtu() return value

[ Upstream commit b4dd006760d671337b62532277b0296bcee8dfd4 ]

In case of error, inet6_csk_update_pmtu() should consistently
return NULL.

Bug added in commit 35ad9b9cf7d8a
(ipv6: Add helper inet6_csk_update_pmtu().)

Reported-by: LluĂ­s Batlle i Rossell <viric@viric.name>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv6/inet6_connection_sock.c