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)
commit9fbfca013176f9b90d186f3b446fd93e4d972b25
tree8af12e9242f8156bb8636b59896a63094bd65525
parent5d9c54c1e9ececcf7e99c4f014f9bec7ee3a7def
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