diff options
author | Jiri Pirko <jiri@resnulli.us> | 2012-11-14 02:51:04 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-26 11:34:36 -0800 |
commit | c5d6a966762eb5bac5960235461fd6893aaa8498 (patch) | |
tree | 4111173a99590ce9fde87c1249666694df2af1bb /net/socket.c | |
parent | db4bf38b4bb475c4d149410f56e79012980f3331 (diff) | |
download | kernel_samsung_tuna-c5d6a966762eb5bac5960235461fd6893aaa8498.zip kernel_samsung_tuna-c5d6a966762eb5bac5960235461fd6893aaa8498.tar.gz kernel_samsung_tuna-c5d6a966762eb5bac5960235461fd6893aaa8498.tar.bz2 |
net: correct check in dev_addr_del()
[ Upstream commit a652208e0b52c190e57f2a075ffb5e897fe31c3b ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions