]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6f91cecd0320c439e08f365e0f2dcd8505a4ad12
tree77eb7ab6620cc6fa7876cbf0c051e2a551503f15
parentfae670bfbc36b0ed63af2b200dc8bd4c35b4effd
ipv6: fix inet6_csk_update_pmtu() return value

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

Bug added in commit fabd89fb19f07
(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