CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2021/12/03 10:18:34
Modified files:
sys/net : if_bridge.c
sys/netinet : ip_output.c ip_spd.c
sys/netinet6 : ip6_forward.c ip6_output.c
Log message:
Add TDB reference counting to ipsp_spd_lookup(). If an output
pointer is passed to the function, it will return a refcounted TDB.
The ref happens when ipsp_spd_inp() copies the pointer from
ipo->ipo_tdb. The caller of ipsp_spd_lookup() has to unref after
using it.
tested by Hrvoje Popovski; OK mvs@ tobhe@