[dahdi-commits] kpfleming: linux/trunk r4643 - /linux/trunk/drivers/dahdi/dahdi_dynamic_eth.c
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Fri Aug 1 16:18:59 CDT 2008
Author: kpfleming
Date: Fri Aug 1 16:18:59 2008
New Revision: 4643
URL: http://svn.digium.com/view/dahdi?view=rev&rev=4643
Log:
fix problem accepting non-linearized skbs from NIC drivers
(closes issue #13204)
Reported by: biohumanoid
Patches:
ztd-eth.c.patch uploaded by biohumanoid (license 459) (modified by me to actually apply to DAHDI)
Modified:
linux/trunk/drivers/dahdi/dahdi_dynamic_eth.c
Modified: linux/trunk/drivers/dahdi/dahdi_dynamic_eth.c
URL: http://svn.digium.com/view/dahdi/linux/trunk/drivers/dahdi/dahdi_dynamic_eth.c?view=diff&rev=4643&r1=4642&r2=4643
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi_dynamic_eth.c (original)
+++ linux/trunk/drivers/dahdi/dahdi_dynamic_eth.c Fri Aug 1 16:18:59 2008
@@ -99,6 +99,7 @@
#endif
if (span) {
skb_pull(skb, sizeof(struct ztdeth_header));
+ skb_linearize(skb);
dahdi_dynamic_receive(span, (unsigned char *)skb->data, skb->len);
}
kfree_skb(skb);
More information about the dahdi-commits
mailing list