]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/ipv4/arp.c
[IPV4]: Remove extra argument from arp_ignore.
authorDenis V. Lunev <den@openvz.org>
Tue, 15 Jan 2008 07:05:55 +0000 (23:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:02:12 +0000 (15:02 -0800)
commit9bd85e32644d4d3744117b0a196ad4382f8acf35
treed25bb624d799e787f9de589f317001ee8b2357aa
parent06f0511df1b3b32fc8e0840514d4b207150f1fa7
[IPV4]: Remove extra argument from arp_ignore.

arp_ignore has two arguments: dev & in_dev. dev is used for
inet_confirm_addr calling only.

inet_confirm_addr, in turn, either gets in_dev from the device passed
or iterates over all network devices if the device passed is NULL. It
seems logical to directly pass in_dev into inet_confirm_addr.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/inetdevice.h
net/ipv4/arp.c
net/ipv4/devinet.c