]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
DECNET: Handle a failure in neigh_parms_alloc (take 2)
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 14 Feb 2007 08:02:36 +0000 (09:02 +0100)
committerAdrian Bunk <bunk@stusta.de>
Wed, 14 Feb 2007 08:02:36 +0000 (09:02 +0100)
commit50c6a34d4daa3a3867128df6f5734fd385b63feb
tree7bd9f6e1b29a49b53da3a7bcf2f31d9f815ccef3
parentb3d6856755b3d0380da5dda54ee273f20ee4a539
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
net/decnet/dn_dev.c