[TIPC]: Fixed skb_under_panic caused by tipc_link_bundle_buf
authorAllan Stephens <allan.stephens@windriver.com>
Thu, 29 Jun 2006 19:32:46 +0000 (12:32 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 30 Jun 2006 00:08:10 +0000 (17:08 -0700)
commite49060c7cab6ca856d048e1e10d71c0e6fedf376
tree20b3ebd30b8cc645684c369e42c968276411e7d2
parentcaf430f37119af5faac9252ec4e18cb1c55dde26
[TIPC]: Fixed skb_under_panic caused by tipc_link_bundle_buf

Now determines tailroom of bundle buffer by directly inspection of buffer.
Previously, buffer was assumed to have a max capacity equal to the link MTU,
but the addition of link MTU negotiation means that the link MTU can increase
after the bundle buffer is allocated.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Per Liden <per.liden@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/link.c