]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitcf0be88057baceae033a82d669128b282308c742
tree2d152ce4faa18fe3618c9a3ce280162d4ab4e2de
parentd2fe85da52e89b8012ffad010ef352a964725d5f
arp: fix a regression in arp_solicit()

Sedat reported the following commit caused a regression:

commit 9650388b5c56578fdccc79c57a8c82fb92b8e7f1
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