https://github.com/torvalds/linux
Revision 3ccd86241b277249d5ac08e91eddfade47184520 authored by Pavel Emelyanov on 30 November 2007, 12:43:31 UTC, committed by Herbert Xu on 30 November 2007, 12:43:31 UTC
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>
1 parent d31c7b8
History
Tip revision: 3ccd86241b277249d5ac08e91eddfade47184520 authored by Pavel Emelyanov on 30 November 2007, 12:43:31 UTC
[DECNET]: dn_nl_deladdr() almost always returns no error
Tip revision: 3ccd862
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
.gitignore -rw-r--r-- 628 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.1 KB
Kbuild -rw-r--r-- 1.6 KB
MAINTAINERS -rw-r--r-- 93.2 KB
Makefile -rw-r--r-- 52.0 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top