bridge - Fix arp issue
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 28 Mar 2018 00:41:04 +0000 (17:41 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 28 Mar 2018 22:07:12 +0000 (15:07 -0700)
commit9f8970ab32f0ce1e8edb2b53c20d4d26fb88c147
treea7f6fcf4c9a4062e279f40cfb17f2edf642f7bce
parent8abdc2b36a45c4e9c95fc8263ca532ea26633dcb
bridge - Fix arp issue

* Fix an issue when an arp route is associated with a bridge.  When an
  arp request comes in on an interface that is not destined for us, do
  not reply to it if the interface belongs to the bridge the arp route
  is associated with.

  Replying to such arp requests would result in a double-reply, one from
  the bridge MAC and one from the target MAC.

* The request will be relayed over the bridge normally, as intended.
sys/netinet/if_ether.c