-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I see (kernel 2.4.26) that, sometimes, driver's xmit function gets packet with
skb->cb containing something from higher level protocols, and non-NULL
skb->destructor.
Is it documented? If no, it is worth to do so. Like "In case driver want to
do some non-trivial manipulations with skb, that involves skb->cb and
destructor, one should call skb_orphan()."
Also,
"When passing skb from driver to stack, driver should clear skb->cb.
Otherwise, stack will get confused."
Vladimir.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD4DBQFA5G1Cqxdj7mhC6o0RAkGnAKCi9xH1qP8Y6lCg2QcTsm2ywWPEoQCYqGml
6SMQsIlyKTBmejQY9yh6HA==
=G3x9
-----END PGP SIGNATURE-----
|