]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mlx4: Return EOPNOTSUPP instead of ENOTSUPP
authorMartin KaFai Lau <kafai@fb.com>
Tue, 10 Jan 2017 17:41:49 +0000 (09:41 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Jan 2017 02:16:43 +0000 (21:16 -0500)
commit9f9b74ef896792399dc7b5121896b9c963db80fb
tree858a7cc1dbed1f2f1d30c0bcf55bf547b40826aa
parentdc5367bcc556e97555fc94a32cd1aadbebdff47e
mlx4: Return EOPNOTSUPP instead of ENOTSUPP

In commit b45f0674b997 ("mlx4: xdp: Allow raising MTU up to one page minus eth and vlan hdrs"),
it changed EOPNOTSUPP to ENOTSUPP by mistake.  This patch fixes it.

Fixes: b45f0674b997 ("mlx4: xdp: Allow raising MTU up to one page minus eth and vlan hdrs")
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c