[DECNET]: dn_nl_deladdr() almost always returns no error
authorPavel Emelyanov <xemul@openvz.org>
Fri, 30 Nov 2007 12:43:31 +0000 (23:43 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 30 Nov 2007 12:43:31 +0000 (23:43 +1100)
commit3ccd86241b277249d5ac08e91eddfade47184520
tree5df95a7fd70b6064c62c7489ef5dd9a63e414853
parentd31c7b8fa303eb81311f27b80595b8d2cbeef950
[DECNET]: dn_nl_deladdr() almost always returns no error

As far as I see from the err variable initialization
the dn_nl_deladdr() routine was designed to report errors
like "EADDRNOTAVAIL" and probaby "ENODEV".

But the code sets this err to 0 after the first nlmsg_parse
and goes on, returning this 0 in any case.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Steven Whitehouse <swhiteho@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
net/decnet/dn_dev.c