[Bug 195191] rtadvd(8): Retry on NET_RT_IFLIST sysctl failure like getifaddrs

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Apr 30 14:45:44 UTC 2019


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

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

Author: markj
Date: Tue Apr 30 14:44:40 UTC 2019
New revision: 346960
URL: https://svnweb.freebsd.org/changeset/base/346960

Log:
  Retry upon NET_RT_IFLIST sysctl failure.

  Port the logic used by getifaddrs(3) to handle the case where
  NET_RT_IFLIST returns ENOMEM, which can occur if the list size changes
  between the buffer allocation and sysctl read.

  PR:           195191
  Submitted by: Guy Yur <guyyur at gmail.com> (original version)
  MFC after:    1 week

Changes:
  head/usr.sbin/rtadvd/if.c

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


More information about the freebsd-net mailing list