diff options
author | Mohamad Haj Yahia | 2016-10-25 17:36:31 +0200 |
---|---|---|
committer | David S. Miller | 2016-10-29 18:00:39 +0200 |
commit | 247f139cdae73b4f47bd348d05dff1afd40b84b6 (patch) | |
tree | 3bfbc76ca0cdee7da036e9b7e79f8e875d35fc92 /scripts | |
parent | net/mlx5e: Unregister netdev before detaching it (diff) | |
download | kernel-qcow2-linux-247f139cdae73b4f47bd348d05dff1afd40b84b6.tar.gz kernel-qcow2-linux-247f139cdae73b4f47bd348d05dff1afd40b84b6.tar.xz kernel-qcow2-linux-247f139cdae73b4f47bd348d05dff1afd40b84b6.zip |
net/mlx5: Change the acl enable prototype to return status
The Ingress/Egress ACL enable function may fail and it should return
status to its caller to avoid NULL pointer dereference.
Fixes: f942380c1239 ('net/mlx5: E-Switch, Vport ingress/egress ACLs rules for spoofchk')
Signed-off-by: Mohamad Haj Yahia <mohamad@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions