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

From: David S. Miller (davem@redhat.com)
Date: Wed Nov 14 2001 - 00:02:21 EST


   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/



This archive was generated by hypermail 2b29 : Thu Nov 15 2001 - 21:00:38 EST