RE: OOPS after adding new field to skbuff.c ?!?

From: adamski (adam_lista_linux@poczta.onet.pl)
Date: Thu Aug 14 2003 - 09:14:07 EST




>We've added a field called real_dev for proper behavior of
>bonding with point to point protocols (e.g. 802.3ad).
>There are several places in skbuff.c that also needed changing
t>hat clone skb's, or recreate them, etc.
>You can diff skbuff.[ch] between 2.4.21 and 2.4.22-rc1 to
>see what we did. It works.

>Also see 8021q VLAN module for proper way to fill private data
>into skb->cb. It is using some sort of TLV to make sure the data
>is valid and can be accessed.

but WHICH function (that allocates skb - i mean where skb starts to live) is
the best one to put my initialization ex. sprintf(skb->pkt_nr,"%lu",val)
??

is __dev_alloc_skb the right place?

regards

adam

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html