diff options
author | green <green@FreeBSD.org> | 2005-06-10 12:28:17 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2005-06-10 12:28:17 +0000 |
commit | 9f795bf703e2446c4dede664749a8e7d3df4e18a (patch) | |
tree | f40481021a5bc74961b1d49db35a5aae037920cb /sys/netgraph/ng_tcpmss.c | |
parent | 06fa0f60f2fe048da8ec0d2449f16e1b831a29ae (diff) | |
download | FreeBSD-src-9f795bf703e2446c4dede664749a8e7d3df4e18a.zip FreeBSD-src-9f795bf703e2446c4dede664749a8e7d3df4e18a.tar.gz |
Modify send_pkt() to return the generated packet and have the caller
do the subsequent ip_output() in IPFW. In ipfw_tick(), the keep-alive
packets must be generated from the data that resides under the
stateful lock, but they must not be sent at that time, as this would
cause a lock order reversal with the normal ordering (interface's
lock, then locks belonging to the pfil hooks).
In practice, this caused deadlocks when using IPFW and if_bridge(4)
together to do stateful transparent filtering.
MFC after: 1 week
Diffstat (limited to 'sys/netgraph/ng_tcpmss.c')
0 files changed, 0 insertions, 0 deletions