]> git.baikalelectronics.ru Git - kernel.git/commit
arp: fix a regression in arp_solicit()
authorCong Wang <xiyou.wangcong@gmail.com>
Sun, 23 Dec 2012 15:23:16 +0000 (15:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Dec 2012 02:42:58 +0000 (18:42 -0800)
commit70a1069746c5ad674a337c75a66c974a582b1986
tree2d152ce4faa18fe3618c9a3ce280162d4ab4e2de
parentda3049d123965e75bbedb8d52045c829c5ff15d2
arp: fix a regression in arp_solicit()

Sedat reported the following commit caused a regression:

commit 1dd851f41c73d833edbba1a4024c18b76696435d
Author: Eric Dumazet <edumazet@google.com>
Date:   Fri Dec 21 07:32:10 2012 +0000

    ipv4: arp: fix a lockdep splat in arp_solicit

This is due to the 6th parameter of arp_send() needs to be NULL
for the broadcast case, the above commit changed it to an all-zero
array by mistake.

Reported-by: Sedat Dilek <sedat.dilek@gmail.com>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
Cc: Sedat Dilek <sedat.dilek@gmail.com>
Cc: Eric Dumazet <edumazet@google.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/arp.c