Results 1 to 1 of 1
I'm working on a network driver port from 2.6.23 to an existing stable code base 220.127.116.11 the build fails due to reference to skb->transport_header unfortunately it appears that significant not ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-21-2008 #1
- Join Date
- Jan 2006
network driver port - problem with struct sk_buff transport_header
the build fails due to reference to skb->transport_header
unfortunately it appears that significant not backward compatible changes were made to struct sk_buff in v 2.6.22
to illustrate, what formerly were unions h, mh, mac near the top
of struct sk_buff (following iif), are now transport_header, network_header, mac_header in a different position. some driver made use of transport_header offset and now it cannot be easily translated to an earlier code base.
can I ask if there is any recommendation
to back port a driver like this. besides a kernel upgrade.
PS the skbuff.h doxygen for struct sk_buff is wrong; it shows the old ordering of fields following iif.