mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
4cb9d08e71
The driver needs to check if the format is 802.2 vs 802.3 in order to set a tx descriptor flag. skb->protocol can't be used, since it may not be properly initialized for packets coming in from a packet socket. Fix misdetection by checking the ethertype from the skb data instead. Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org> Signed-off-by: Petr Štetiar <ynezz@true.cz> [commit description] |
||
---|---|---|
.. | ||
100-Revert-of-net-pass-the-dst-buffer-to-of_get_mac_addr.patch | ||
101-fix-encap-offload-ethernet-type-check.patch |