ipv6: return errno pointers consistently for fib6_add_1()
authorLin Ming <mlin@ss.pku.edu.cn>
Tue, 25 Sep 2012 15:17:07 +0000 (15:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Sep 2012 22:48:28 +0000 (18:48 -0400)
commit188c517a050ec5b123e72cab76ea213721e5bd9d
treeac2c7777a1e61f45e803ec5d0e038ecfc5b77343
parent24cad1b4ce9e9da6ec22cfc9361bbbe0ba4f80cc
ipv6: return errno pointers consistently for fib6_add_1()

fib6_add_1() should consistently return errno pointers,
rather than a mixture of NULL and errno pointers.

Signed-off-by: Lin Ming <mlin@ss.pku.edu.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_fib.c