diff options
author | Aymeric Wibo <obiwac@FreeBSD.org> | 2025-08-25 22:40:16 +0000 |
---|---|---|
committer | Aymeric Wibo <obiwac@FreeBSD.org> | 2025-08-25 22:40:17 +0000 |
commit | 431856c868de12d7af127cdf7e9aeb1b99d0ac99 (patch) | |
tree | 67474adc4e0c1a2321a37a7312cb76d40b57fadd /crypto/krb5/doc/admin/install_clients.rst | |
parent | 5bd5774ff63c735087ff3a6604e4066a265d9b6c (diff) |
When asking for IFF_PROMISC when modifying interfaces with netlink, set
permanent flag instead (IFF_PPROMISC) as netlink interface modification
has no way of doing promiscuity reference counting through ifpromisc().
We can't do reference counting because every netlink interface
modification necessarily either sets or unsets IFF_PROMISC in ifi_flags,
and ifi_change is usually set to 0xFFFFFFFF.
This logic was the same between this and SIOCSIFFLAGS, so factor out
if_setppromisc() function.
Reviewed by: melifaro, saheed, kp, mckusick (mentor)
Approved by: melifaro, saheed, mckusick (mentor)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52056
Diffstat (limited to 'crypto/krb5/doc/admin/install_clients.rst')
0 files changed, 0 insertions, 0 deletions