Skip to contentSkip to conversation

IMQ port to 2.6.0

RFC Christian Trefzer 1 participant 2 messages Jan 3, 2004

lore
Share & tools
lore
#0 lore raw

OK folks, hit me -- I tried to port the Intermediate Queueing Device driver (IMQ) to the 2.6.x kernel series. It's my first submission / patch / whatever to the linux kernel, so any hint will be appreciated.

The diff was made against vanilla 2.6.0, but can be applied without a hitch to 2.6.1-rc1 as well. The further one compiles with two warnings in imq.c which is actually left unchanged, as it seemed to be written somewhat clean, as far as the 2.6 driver issues are concerned.
Runtime testing will follow tomorrow, for both 2.6.0 and 2.6.1-rc1. But just in case someone wants to break his/her box while I'm asleep, here goes the diff. The true credits are due to someone else, of course...

imq.c reads:
Authors: Patrick McHardy, <[email protected]>
The first version was written by Martin Devera, <[email protected]>
Credits: Jan Rafaj <[email protected]>
- Update patch to 2.4.21
Sebastian Strollo <[email protected]>
- Fix "Dead-loop on netdevice imq"-issue

Have fun, and blame (but please don't sue) me for any mess contained herein...

#1 lore raw

So this is a REAL mess, kernel panic upon loading imq.ko on both 2.6.0 and 2.6.1-rc1. Back to formula...