[Bug 256393] Issue with recreation of ppp/tun interfaces

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 04 Jun 2021 20:33:56 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256393

--- Comment #18 from Alexander V. Chernikov <melifaro_at_FreeBSD.org> ---
(In reply to Nathan Whitehorn from comment #12)

Interesting.

Are you absolutely sure it's stock 13-S?
Any custom sysctl's / multiple fibs ?

The logs above show commit
https://cgit.freebsd.org/src/commit/sys/net/route/route_ifaddrs.c?h=stable/13&id=ae23d302479
, but does not explicitly specify the hostname (in that line).

Currently loopback routes in 13-S are PINNED:
https://cgit.freebsd.org/src/tree/sys/net/route/route_ifaddrs.c?h=stable/13&id=ae23d302479#n163
, so it shouldn't be possible for routed(8) to delete such routes.

PINNED logic also should take precedence over any other non-PINNED routes,
allowing to replace these on route addition during interface address
assignment.

Could you by any chance show the following:

1) netstat -4rnW, netstat -4onW
2) route -n monitor
3) if possible, run `dtrace -i 'fbt:kernel:*:return /arg1==17/ {stack()}'`

4) Run commmand-to-fail: `ifconfig tun0 192.168.42.1 192.168.42.2`

5) netstat -4rnW, netstat -4onW

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Fri Jun 04 2021 - 20:33:56 UTC

Original text of this message