kp 8e2074c2e1 garp: Fix vnet related panic for gratuitous arp
Gratuitous ARP packets are sent from a timer, which means we don't have a vnet
context set. As a result we panic trying to send the packet.

Set the vnet context based on the interface associated with the interface
address.

To reproduce:
  sysctl net.link.ether.inet.garp_rexmit_count=2
  ifconfig vtnet1 10.0.0.1/24 up

PR:		235699
Reviewed by:	vangyzen@
MFC after:	1 week
2019-02-12 21:22:57 +00:00
..
2018-07-11 14:54:56 +00:00
2018-05-29 12:32:08 +00:00
2019-01-23 22:19:49 +00:00
2018-07-01 08:37:07 +00:00
2018-07-01 08:37:07 +00:00
2018-09-18 10:53:07 +00:00
2018-05-19 05:56:21 +00:00
2019-02-04 21:28:25 +00:00
2019-02-04 21:28:25 +00:00
2019-02-04 21:28:25 +00:00
2019-02-04 21:28:25 +00:00
2018-11-22 20:49:41 +00:00
2019-01-24 16:47:18 +00:00
2018-07-31 22:56:03 +00:00