K 10 svn:author V 5 luigi K 8 svn:date V 27 2001-01-26T19:57:06.000000Z K 7 svn:log V 1167 MFC: bring in latest bunch of bugfixes and patches to make bridging and dummynet work. Once again the reason for this quick MFC is that nobody that I know is testing this code in -CURRENT (though I tested it briefly and it seems to work there as well), whereas there is a number of people using it in -STABLE. In detail, the changes to the code (committed to both -CURRENT and -STABLE) over the last week have been the following: + bridge.c: assorted bugfixes, and several performance improvements aimed at reducing the number of copies and mbuf usage. For what matters, the time spent in bdg_forward is now cut by more than 50% in the common cases, and most of the packets are kept contiguous in a single cluster from entry to exit. + ip_dummynet.c: final cleanup to the weighted fair queueing code, which now seems to work reliably. + ip_fw.c: removed the #ifdef STATEFUL lines, since there is really no way to compile this file without stateful support. Also try to reduce the number of places where ipfw depends on fields in host order. This is in an attempt to make the shared parts of mbuf chains as much as possible readonly. END