driver/net/tun: Added features for USO.
authorAndrew Melnychenko <andrew@daynix.com>
Wed, 7 Dec 2022 11:35:55 +0000 (13:35 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Dec 2022 09:29:56 +0000 (09:29 +0000)
commit399e0827642f6a8bcae24277fe08e80e7e4bb891
tree83b02eafcc846244c1dafcc4af1d5a6a1b4f0111
parentb22bbdd17a5af2cc99cf42048970b9355dcbec8b
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>
drivers/net/tap.c
drivers/net/tun.c