Re: [PATCH] ppp_generic causes skput:under: w/ pppoatm and

David S. Miller (davem@redhat.com)
Tue, 13 Nov 2001 21:02:21 -0800 (PST)


From: Till Immanuel Patzschke <tip@internetwork-ag.de>
Date: Tue, 13 Nov 2001 22:30:24 +0100

I've attached a patch, checking for headroom first, and - if necessary -
reallocating a larger buffer for the skb_push.

Please check and apply - or find a better fix!

Here is my "better fix". In pppoatm, we should be increasing the
device header length appropriately. ie. dev->hard_header_len needs to
be increased in the pppoatm driver when vc-encaps is used.

Franks a lot,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/