[TIPC]: Force linearization of non-linear sk_buffs
authorAllan Stephens <allan.stephens@windriver.com>
Wed, 16 Apr 2008 02:03:23 +0000 (19:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Apr 2008 02:03:23 +0000 (19:03 -0700)
commitfe13dda2d24eca2ee8a6bb8a0af88ab84d589fd6
tree3f4a5cc599f45c6523fed71814cd7a571e049023
parentbdc82bee43d11c093ff0378acef2a9550891cbb9
[TIPC]: Force linearization of non-linear sk_buffs

This patch allows TIPC to process incoming messages that are
stored in a fragmented sk_buff, by forcing the linearization
of any such messages it receives.

Note: This is an interim solution to allow TIPC to operate with
Ethernet devices that generate non-linear buffers (such as the
gianfar driver), until such time as the rest of TIPC is enhanced
to handle sk_buffs with multiple data areas.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/core.h
net/tipc/link.c