]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: correct check in dev_addr_del()
authorJiri Pirko <jiri@resnulli.us>
Wed, 14 Nov 2012 02:51:04 +0000 (02:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Nov 2012 22:57:53 +0000 (17:57 -0500)
commita652208e0b52c190e57f2a075ffb5e897fe31c3b
tree7d41ac0aa041beb5803654d79c9893b651644f63
parentec34232575083fd0f43d3a101e8ebb041b203761
net: correct check in dev_addr_del()

Check (ha->addr == dev->dev_addr) is always true because dev_addr_init()
sets this. Correct the check to behave properly on addr removal.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev_addr_lists.c