Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > The Linux Kernel
Reload this Page network driver port - problem with struct sk_buff transport_header
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

The Linux Kernel Compiling, theory, programming or other discussion about the linux kernel

Reply
 
Thread Tools Display Modes
Old 01-21-2008   #1 (permalink)
linuxgrokmistr
Just Joined!
 
Join Date: Jan 2006
Posts: 2
network driver port - problem with struct sk_buff transport_header

I'm working on a network driver port from 2.6.23 to an existing stable code base 2.6.21.3

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.


Thanks,
/linuxgrokmistr
linuxgrokmistr is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu Studio can't find my cdrom drive Chad Seibert Ubuntu Help 6 10-26-2007 09:54 AM
Twinhan dvb card installation DMBGO Redhat / Fedora Linux Help 8 10-21-2006 05:51 PM
slackware 10.2 video drivers mindblast Slackware Linux Help 16 12-07-2005 09:11 AM
2x Promise sx8s causing problems/ Help with block devices in general Daniel DK Peripherals / Hardware 0 10-17-2005 01:07 PM
3c90x in Caldera 2.4 bionik Installation 20 03-12-2003 09:38 PM




All times are GMT. The time now is 04:33 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0