]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: batman-adv: Provide full headers and packets as linear skb
authorSven Eckelmann <sven.eckelmann@gmx.de>
Sat, 4 Sep 2010 23:58:33 +0000 (01:58 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 5 Sep 2010 07:29:48 +0000 (00:29 -0700)
commit05d3eb44309ceff52a573d6e11f7fda90994c788
tree0e32f535634ac1e60f6eb9f25ea914ea1d9c4d0e
parent69f61da34cac71adc9c97e0e810dcddb1a003d25
Staging: batman-adv: Provide full headers and packets as linear skb

We must ensure that all interesting data is linear and not paged out to
access all information in a header or a full batman-adv related packet.
Otherwise we may drop packets which have non-linear headers but which
hold valid data.

This doesn't affect non-linear skbs which have all headers in a linear
head unless we must process the whole packet like in ogms or vis
packets.

Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/batman-adv/hard-interface.c
drivers/staging/batman-adv/routing.c