HomeFreeBSD

udp: Add a sysctl to modify listening socket FIB inheritance

Description

udp: Add a sysctl to modify listening socket FIB inheritance

Introduce the net.inet.udp.bind_all_fibs tunable, set to 1 by default
for compatibility with current behaviour. When set to 0, all received
datagrams will be dropped unless an inpcb bound to the same FIB exists.

No functional change intended, as the new behaviour is not enabled by
default.

Reviewed by: glebius
MFC after: 2 weeks
Sponsored by: Klara, Inc.
Sponsored by: Stormshield
Differential Revision: https://reviews.freebsd.org/D48664

Details

Provenance
markjAuthored on Thu, Feb 6, 2:15 PM
Reviewer
glebius
Differential Revision
D48664: udp: Add a sysctl to control binding
Parents
rG5dc99e9bb985: tcp: Add a sysctl to modify listening socket FIB inheritance
Branches
Unknown
Tags
Unknown