[PATCH] DECNET: Handle a failure in neigh_parms_alloc (take 2)
commit50d7d7e3c0ecbb01fc018434a23ec8b260c68473
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 2 Feb 2007 20:50:23 +0000 (2 12:50 -0800)
committerChris Wright <chrisw@sous-sol.org>
Mon, 5 Feb 2007 16:31:44 +0000 (5 08:31 -0800)
tree21585579df223a108c313ca1f5e269fee1ae835a
parent75cd51415c52253931aef75895f4a9b2464e4b17
[PATCH] DECNET: Handle a failure in neigh_parms_alloc (take 2)

While enhancing the neighbour code to handle multiple network
namespaces I noticed that decnet is assuming neigh_parms_alloc
will allways succeed, which is clearly wrong.  So handle the
failure.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Acked-by: Steven Whitehouse <steve@chygwyn.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
net/decnet/dn_dev.c