OSDN Git Service

IPv6: Print error value when skb allocation fails
authorBrian Haley <brian.haley@hp.com>
Tue, 2 Jun 2009 07:20:26 +0000 (00:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jun 2009 07:20:26 +0000 (00:20 -0700)
commitdae9de8e13a8a5154688e4c788e65399b4718707
tree1f3de9c37a148284de7cb9ef8cedfc5ec6a70b70
parentb61b8af0f3883b451bb9c3b3eaea4379aca9f36f
IPv6: Print error value when skb allocation fails

Print-out the error value when sock_alloc_send_skb() fails in
the IPv6 neighbor discovery code - can be useful for debugging.

Signed-off-by: Brian Haley <brian.haley@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ndisc.c