tun: reject unsupported coalescing params
authorJakub Kicinski <kuba@kernel.org>
Fri, 6 Mar 2020 01:05:58 +0000 (17:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Mar 2020 06:45:55 +0000 (22:45 -0800)
commite5ad00b34dc03bb56b1d6c99c214d4d530656868
tree1020a153b70f710a0c3b76ea10fac1e5a72219f6
parent524250a324da0ec5e942b11a8f8536f3bc4872f5
tun: reject unsupported coalescing params

Set ethtool_ops->supported_coalesce_params to let
the core reject unsupported coalescing parameters.

This driver did not previously reject unsupported parameters.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c