On the receive path skb->nh.raw is set by the kernel core in 2.2 so that
should be ok providing skb->mac.raw is sane. It looks like the ax25 transmit
code isnt setting skb->nh.raw somewhere, or we have an off by one error
handling control messages (which looking at the code seems to be the case)
If you change
if (skb2->nh.raw < skb2->data || skb2->nh.raw >= skb2->...
So that it checks
< skb2->data || nh.raw > ..
Let me know if that fixes it. It shouldn't but it would be good to know if
we are picking up header only frames somewhere, or nh.raw has accidentally
been pushed on one header too far.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/