[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 12 21:23:37 UTC 2019


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

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

Author: kp
Date: Tue Feb 12 21:22:58 UTC 2019
New revision: 344061
URL: https://svnweb.freebsd.org/changeset/base/344061

Log:
  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

Changes:
  head/sys/netinet/if_ether.c

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


More information about the freebsd-bugs mailing list