ax88179_178a: disabled FLAG_MULTI_PACKET

From: Vivek Bhagat <hidden>
Date: 2016-05-10 07:35:29

Hi,

ax88179_178a_rx_fixup() function is cloning the data and calling
usbnet_skb_return(). Since FLAG_MULTI_PACKET is not set,
usbnet_skb_return() is being called second time within rx_process()
function in usbnet.c.

I simply enabled the flag in ax88179_info as below -
    .flags = FLAG_ETHER..| FLAG_MULTI_PACKET

Ping stops working.

Could anyone please point out what could be the reason behind sending
same packets 2 times to upper layer (from usbnet and its class driver
ax88179_178a)?

In case of asix 2.0 driver, avove flag is set and it is working.


Thanks,
Vivek
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help