]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bridge: Enter epoch for bridge_input()/bridge_output()
authorKristof Provost <kp@FreeBSD.org>
Wed, 22 Jul 2020 20:13:12 +0000 (20:13 +0000)
committerKristof Provost <kp@FreeBSD.org>
Wed, 22 Jul 2020 20:13:12 +0000 (20:13 +0000)
commitbf9ff981bab0df2076b6e7988190eba6b56e4833
treed19e3f61c714d86d02a947dc386ddbfb2c39bb63
parent100224c8a437e566ca4935c08dab9dc4b375db20
bridge: Enter epoch for bridge_input()/bridge_output()

In stable/12 epoch is not as wide as it is in head. The network stack isn't yet
in epoch when bridge_input()/bridge_output() get called, so rather than assert
this we must enter it ourselves.

This is a direct commit to stable/12.

PR: 248046
Differential Revision: https://reviews.freebsd.org/D25715
sys/net/if_bridge.c