[DECNET]: Handle a failure in neigh_parms_alloc (take 2)
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 25 Jan 2007 23:51:51 +0000 (15:51 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jan 2007 23:51:51 +0000 (15:51 -0800)
commit95743deb34de29defbb98ad477700aaf344f93f3
treeabc0e49488dcc4e36bdb0f3d211a6cd5a5be0544
parent24cb230b587cf3aad8794b150682d8d8303a2120
[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>
net/decnet/dn_dev.c