[Home]

Summary:DAHLIN-00024: [patch] non-linear skbuff bug
Reporter:Pavel Selivanov (biohumanoid)Labels:
Date Opened:2008-07-31 00:04:47Date Closed:2008-08-01 16:10:39
Priority:MajorRegression?No
Status:Closed/CompleteComponents:dahdi_dynamic_eth
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) ztd-eth.c.patch
Description:dahdi_dynamic_eth (ztd-eth) failed to work with Intel(R) PRO/1000 Network Driver .
The reason is e1000 using non-linear skb.
dahdi_dynamic_eth MUST linearize the data.


****** ADDITIONAL INFORMATION ******

Requre one more memcpy/kmalloc ...
The best solution is to have a pre-allocated buffer, and use "skb_copy_bits".
Comments:By: Pavel Selivanov (biohumanoid) 2008-07-31 00:09:52

The patch is for the ztd-eth, I think it's not a problem :-)

By: Digium Subversion (svnbot) 2008-08-01 16:10:37

Repository: dahdi
Revision: 4643

U   linux/trunk/drivers/dahdi/dahdi_dynamic_eth.c

------------------------------------------------------------------------
r4643 | kpfleming | 2008-08-01 16:10:37 -0500 (Fri, 01 Aug 2008) | 8 lines

fix problem accepting non-linearized skbs from NIC drivers

(closes issue DAHLIN-24)
Reported by: biohumanoid
Patches:
     ztd-eth.c.patch uploaded by biohumanoid (license 459) (modified by me to actually apply to DAHDI)


------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=4643