|
|
Log in / Subscribe / Register

More API changes

More API changes

Posted Jan 6, 2010 21:08 UTC (Wed) by phormion (guest, #62841)
In reply to: More API changes in 2.6.16 by smurf
Parent article: API changes in the 2.6 kernel series

We have this fairly complex proprietary kernel module which we currently build against 2.6.7 (ancient, I know) and decided to try with a more recent kernel (2.6.27 - that's what we have available at the moment). There were a few issues, and what's surprising is almost none of them could be found on this page:

  • the 'func' member in struct packet_type has changed signature (one extra net_device * argument); since 2.6.14, see here
  • INIT_WORK() takes only 2 arguments since 2.6.20 (see here)
  • some functions (dev_get_by_index(), devinet_ioctl()) take an extra argument pointing to the net namespace
  • other small stuff like SET_MODULE_OWNER() removed (was a nop in 2.6 anyway), netfilter defines like NF_IP_LOCAL_* renamed to NF_INET_LOCAL_*


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds