]> git.baikalelectronics.ru Git - kernel.git/commit
net: Don't proxy arp respond if iif == rt->dst.dev if private VLAN is disabled
authorThomas Graf <tgraf@suug.ch>
Fri, 10 Feb 2012 04:07:11 +0000 (04:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Feb 2012 20:13:36 +0000 (15:13 -0500)
commit7f9b699407365df0e7c2fd1a7e0726c711459e9c
tree1ca143be17f6c1e78b7740c5bb2a4a12b0d059a2
parent9e17f075f01675754df56d1ad960b8475bd84e1b
net: Don't proxy arp respond if iif == rt->dst.dev if private VLAN is disabled

Commit 653241 (net: RFC3069, private VLAN proxy arp support) changed
the behavior of arp proxy to send arp replies back out on the interface
the request came in even if the private VLAN feature is disabled.

Previously we checked rt->dst.dev != skb->dev for in scenarios, when
proxy arp is enabled on for the netdevice and also when individual proxy
neighbour entries have been added.

This patch adds the check back for the pneigh_lookup() scenario.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Acked-by: Jesper Dangaard Brouer <hawk@comx.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/arp.c