Bug 121141
Summary: | ax88179_178a devices produce overly long Ethernet frames | ||
---|---|---|---|
Product: | Drivers | Reporter: | chrysn |
Component: | Network | Assignee: | drivers_network (drivers_network) |
Status: | NEW --- | ||
Severity: | normal | CC: | bastienphilbert, mharo |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 4.7 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
dmesg from connecting to disconnecting the device
pcapng dump of traffic over the network interface during address configuration |
Description
chrysn
2016-06-29 09:06:17 UTC
Has this worked before in older kernel versions or not. If it has why not try bisecting it to see the introduced bad commit into the current kernel release. there have always been the abundant bytes as long as i have used the device (around 3.16-ish); i only started digging down deeper now because i started using scan6 which relies/-d on the package lengths. Try bisecting it seems to me that something screwed up when dealing with packets on the adaptor your using. i don't have any good version to bisect it against. the driver was introduced between 3.8 and 3.9. i've just now tested kernel versions back to 3.11 for which i had a live image around, and the bug already existed there. Ok that's a good start. Can you send me your dmesg and wireshark outputs. Created attachment 223001 [details]
dmesg from connecting to disconnecting the device
Created attachment 223011 [details]
pcapng dump of traffic over the network interface during address configuration
i've taken the liberty to filter out the masses of mdns packages that were originally part of the dump
Ok seems that this line can be removed: ax_skb->data = skb->data + 2; and try removing this line too, may need it still but let's see: skb_pull(skb, 2); Using the driver from http://www.asix.com.tw/download.php?sub=driverdetail&PItemID=131 fixes the issue. Maybe their sources give a hint, what's wrong. (In reply to ehlers from comment #9) > Using the driver from > http://www.asix.com.tw/download.php?sub=driverdetail&PItemID=131 fixes the > issue. Maybe their sources give a hint, what's wrong. Forget to mention, that I was testing with kernel v4.9.65 FYI this blog post covers this issue pretty well - https://blog.inoki.cc/2019/12/12/Bug_AX88179_178a_USB_Ethernet_adapter_Linux_Driver/ |