[Bug 235699] Kernel panics when setting IP address if net.link.ether.inet.garp_rexmit_count=2

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 19 18:23:25 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235699

--- Comment #4 from commit-hook at freebsd.org ---
A commit references this bug:

Author: kp
Date: Tue Feb 19 18:22:56 UTC 2019
New revision: 344281
URL: https://svnweb.freebsd.org/changeset/base/344281

Log:
  MFC r344061:

  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@

Changes:
_U  stable/12/
  stable/12/sys/netinet/if_ether.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-net mailing list