]> git.baikalelectronics.ru Git - kernel.git/commit
r8152: support ndo_features_check
authorhayeswang <hayeswang@realtek.com>
Tue, 6 Jan 2015 09:41:58 +0000 (17:41 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Jan 2015 18:29:13 +0000 (13:29 -0500)
commit766ab6c692b4e7c9384f1f5f678a424f520fa5f7
tree6b3d7dcb1c643376d7af160340aaafd770b69f3e
parentd34d070a3530dd1ff2bbb73a1dd7fefb2e4d2b4c
r8152: support ndo_features_check

Support ndo_features_check to avoid:
 - the transport offset is more than the hw limitation when using hw checksum.
 - the skb->len of a GSO packet is more than the limitation.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c