]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitb266393511d1d2eaf6a05d605df9ad49c65cdfb3
tree20b3ebd30b8cc645684c369e42c968276411e7d2
parentd8769d0bb15ead0fc319c847e1a0cd97e2f5219d
[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