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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




>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

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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux