ipv6 route: use err pointers instead of returning pointer by reference
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Sat, 10 Oct 2015 15:26:36 +0000 (08:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2015 02:47:34 +0000 (19:47 -0700)
commit8c5b83f0f255542b40a1273c32eb067ec00bb2b2
tree23e666959918629d66d8fcf83116eb2aebeb3c1a
parent99dcc7dfb1960d5e2f1577ff3aad69dfeb6e9787
ipv6 route: use err pointers instead of returning pointer by reference

This patch makes ip6_route_info_create return err pointer instead of
returning the rt pointer by reference as suggested  by Dave

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c