]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Ensure outgoing messages on Ethernet have sufficient headroom
authorAllan Stephens <allan.stephens@windriver.com>
Fri, 3 Sep 2010 08:33:40 +0000 (08:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Sep 2010 01:12:56 +0000 (18:12 -0700)
commit007a54f24a2a8c7308c2a831d93c09904bf3ed67
tree8af12e9242f8156bb8636b59896a63094bd65525
parent03732b71de156186ddb08467f31344b678fe1b3c
tipc: Ensure outgoing messages on Ethernet have sufficient headroom

Add code to expand the headroom of an outgoing TIPC message if the
sk_buff has insufficient room to hold the header for the associated
Ethernet device.  This change is necessary to ensure that messages
TIPC does not create itself (eg. incoming messages that are being
routed to another node) do not cause problems, since TIPC has no
control over the amount of headroom available in such messages.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/eth_media.c