Bug 152928 - [patch] rtadvd(8) don't send RA on i/f that's down
Summary: [patch] rtadvd(8) don't send RA on i/f that's down
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 8.1-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
Depends on:
Reported: 2010-12-08 17:00 UTC by J.R. Oldroyd
Modified: 2017-12-31 22:32 UTC (History)
0 users

See Also:

file.diff (2.64 KB, patch)
2010-12-08 17:00 UTC, J.R. Oldroyd
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description J.R. Oldroyd 2010-12-08 17:00:23 UTC
rtadvd looks to see if an interface is UP and doesn't send RAs if it's not.
However, if the interface is marked up but the media is down at the moment,
it does still send an RA.  This causes endless syslog messages of the form:

rtadvd[1619]: <ra_output> sendmsg on vge0: No buffer space available

The attached patch adds a check to see if the media is up and only sends
the RA if it is.

How-To-Repeat: Run rtadvd on an interface of your choice.
Unplug the media cable from the interface.
Observe repeated syslog error messages.
Comment 1 Bjoern A. Zeeb freebsd_committer 2010-12-08 21:07:37 UTC
Responsible Changed
From-To: freebsd-bugs->bz

Comment 2 Bjoern A. Zeeb freebsd_committer 2011-06-04 15:01:14 UTC
Responsible Changed
From-To: bz->hrs

hrs, given you are doing the complete code overhaul, let me 
assign that to you as well.
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:54 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped