Re: [Q]: Linux and real device drivers

Jes Sorensen (Jes.Sorensen@cern.ch)
24 Sep 1999 21:25:35 +0200


>>>>> "David" == David Hinds <dhinds@zen.stanford.edu> writes:

>> Kernel sk_buff layout change during 2.0 to fix the big ping attack
>> 8-P
David> That's a good example, which reinforces one of my points. An
David> sk_buff is essentially an opaque data structure for device
David> drivers: whatever the changes were, I was oblivious to them,
David> because they had no impact on network driver code.

Except that it changes the layout of struct skbuff, which the drivers
need to be recompiled for to make sure they don't break things.

David> Some gratuitously annoying changes:

David> o Addition of 'flush' pointer to middle of 'struct
David> file_operations' rather than the end, needlessly breaking
David> static initializers.

This was done deliberately and you know it, it was put in the middle
to make sure people noticed it.

Jes

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/