Brian Feldman b34d56f1ef 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
2005-06-10 12:28:17 +00:00
..
2005-03-26 22:20:22 +00:00
2005-03-01 12:01:17 +00:00
2005-06-01 11:38:35 +00:00
2005-06-04 08:03:28 +00:00
2005-06-01 11:24:00 +00:00