]> git.karo-electronics.de Git - mv-sheeva.git/commit
net: handle addr_type of 0 properly
authorHagen Paul Pfeifer <hagen@jauu.net>
Fri, 25 Feb 2011 21:58:54 +0000 (13:58 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Feb 2011 21:58:54 +0000 (13:58 -0800)
commit5aca1a9e880e06bb7e5fd553a86a330ae7e218b5
tree172cf3642ba7e64883e5ba8df0a4d22a56eb8083
parentc486da34390846b430896a407b47f0cea3a4189c
net: handle addr_type of 0 properly

addr_type of 0 means that the type should be adopted from from_dev and
not from __hw_addr_del_multiple(). Unfortunately it isn't so and
addr_type will always be considered. Fix this by implementing the
considered and documented behavior.

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev_addr_lists.c