Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a96d5673 authored by Vijayavardhan Vennapusa's avatar Vijayavardhan Vennapusa
Browse files

USB: gadget: u_ether: Change skb->len check for jumbo frames



There is a chance that jumbo frames whose length greater than
EHT_FRAME_LEN(1514) can be sent by host if it is configured for MTU sizes
greater than 1500. Currently driver is checking for skb->len greater than
ETH_FRAME_LEN, which fails in case of jumbo frames received. Hence fix the
issue by changing check for skb->len > GETHER_MAX_ETH_FRAME_LEN in rx_work.

Change-Id: I4b09419d026a16563e03b891fe671e748f911dad
Signed-off-by: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
parent bdef63d1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment