Headroom for bridging and wireless
Tom Marshall <tommy-qZBa9ISwN9Q+/[email protected]>
| Newsgroups | gmane.linux.network.bridge.ebtables.devel |
|---|---|
| Message-ID | <[email protected]> |
The madwifi driver (for Atheros cards) uses sk_buff's directly in its xmit code. When using WEP, a 4 byte header is prepended to the data using skb_push(). Since normal ethernet drivers don't anticipate the need for this, a call to skb_realloc_headroom() is needed for all packets crossing the bridge from ethernet to wireless. How hard would it be to add some logic in the bridge code to supply extra headroom in the sk_buff allocator? I'm thinking it could query each network device in the system for its headroom requirements and use the max. Or it could recognize which interfaces are in bridging mode and only ask them. Or something even more intelligent. -- A computer without Microsoft software is like a fish without a bicycle.
signature.asc
(application/pgp-signature, 240 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAj/QKUIACgkQFMm9uvwPXW5hggCfTGqLpY2c6cIcVvR4Cd88+WKV 0N0AnimbgncyE1lA9o2OSM5WoKoqnyUU =28ug -----END PGP SIGNATURE-----