driver/net/tun: Added features for USO.

Added support for USO4 and USO6.
For now, to "enable" USO, it's required to set both USO4 and USO6 simultaneously.
USO enables NETIF_F_GSO_UDP_L4.

Signed-off-by: Andrew Melnychenko <andrew@daynix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Andrew Melnychenko 2022-12-07 13:35:55 +02:00 • committed by David S. Miller
commit 399e082764
2 changed files with 15 additions and 3 deletions