HomeFreeBSD

ng pppoe(4): Add the required NET_EPOCH section to the hook

Description

ng pppoe(4): Add the required NET_EPOCH section to the hook
disconnection function.

Disconnecting hooks are called outside of NET_EPOCH, but
ng_pppoe_disconnect() calls NG_SEND_DATA_ONLY() which should be called
in NET_EPOCH.

PR: 257067
Reported by: niels=freebsd@bakker.net
Reviewed by: vmaffione (mentor), glebius, donner
Approved by: vmaffione (mentor), glebius, donner
Sponsored by: vstack.com
Differential Revision: https://reviews.freebsd.org/D34185

(cherry picked from commit b27e6e91d0ad1f87b296f7583d4f5d938d7a997c)

Details

Provenance
afedorovAuthored on Feb 9 2022, 7:00 PM
Reviewer
vmaffione
Differential Revision
D34185: ng pppoe(4): Add the required NET_EPOCH section to the hook disconnection function.
Parents
rGb425101ab6d5: netmap: fix LOR in iflib_netmap_register
Branches
Unknown
Tags
Unknown