SKB BUG: Invalid truesize

GNUtoo at no-log.org GNUtoo
Sun Nov 23 13:11:13 PST 2008


hello, here's my setup:
bcm4318 with the b43 driver
the 2.6.27.4 kernel
the 009-allow-ap-vlan-modes.patch
hostapd 0.6.4

but i have errors like this:
[ 5863.392856] SKB BUG: Invalid truesize (1716) len=1537,sizeof(sk_buff)=180
(a lot)
and
[ 5862.489664] SKB BUG: Invalid truesize (276) len=97, sizeof(sk_buff)=180
and
[ 5860.508461] b43-phy0 ERROR: PHY transmission error


I tried to apply this patch:
iff --git a/net/core/skbuff.c b/net/core/skbuff.c
index f735455..b8b1063 100644
--- a/net/core/skbuff.c
+++ b/net/core/skbuff.c
@@ -639,6 +639,7 @@ struct sk_buff *pskb_copy(struct sk_buff
        n->csum      = skb->csum;
        n->ip_summed = skb->ip_summed;

+       n->truesize += skb->data_len;
        n->data_len  = skb->data_len;
        n->len       = skb->len;

but it was already applied...

and when I ssh into the router The connection is  sometime unresponsive
for a second...but most of the time it's fine
this is problematic because it often does it in the middle of a command or
a config file edition





More information about the Hostap mailing list