Re: [PATCH net v1] tap: fix incorrect variable used for USO check in set_offload()

Willem de Bruijn <[email protected]>
Newsgroups org.kernel.vger.netdev
Message-ID <[email protected]>
Rongguang Wei wrote:
> From: Rongguang Wei <[email protected]>
> 
> The USO features in set_offload() incorrectly uses feature_mask
> instead of arg argument.
> 
> TUN_F_USO4 and TUN_F_USO6 belong to the TUN_F_* flag, while feature_mask
> belong to NETIF_F_* values (NETIF_F_HW_CSUM, NETIF_F_TSO, etc.) and
> will never contain any TUN_F_* bits.
> 
> Fixes: 399e0827642f ("driver/net/tun: Added features for USO.")
> Signed-off-by: Rongguang Wei <[email protected]>

Reviewed-by: Willem de Bruijn <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.