[IPV4]: Fix rtm_to_ifaddr() error handling.
authorEvgeniy Polyakov <johnpol@2ka.mipt.ru>
Fri, 9 Mar 2007 21:43:24 +0000 (13:43 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Mar 2007 21:43:24 +0000 (13:43 -0800)
commitc4e38f41e34ad853651d66227aae23e48457dce0
tree1bbae8ba06b94474d09cf1834d8e1fabbf62162f
parent30fbc9f77c5a77f5f7f053d29eb92e41f6043406
[IPV4]: Fix rtm_to_ifaddr() error handling.

Return negative error value (embedded in the pointer) instead of
returning NULL.

Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/devinet.c