ipv6: fix inet6_csk_update_pmtu() return value
authorEric Dumazet <edumazet@google.com>
Tue, 20 Nov 2012 20:14:51 +0000 (15:14 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Nov 2012 20:16:15 +0000 (15:16 -0500)
commitb4dd006760d671337b62532277b0296bcee8dfd4
tree77eb7ab6620cc6fa7876cbf0c051e2a551503f15
parent3e2f61cd7a4e7642dcac4371734426e572f10370
ipv6: fix inet6_csk_update_pmtu() return value

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>
net/ipv6/inet6_connection_sock.c