alistair23-linux/drivers/infiniband/hw/mlx4
Or Gerlitz 571e1b2c7a mlx4: Avoid leaking steering rules on flow creation error flow
If mlx4_ib_create_flow() attempts to create > 1 rules with the
firmware, and one of these registrations fail, we leaked the
already created flow rules.

One example of the leak is when the registration of the VXLAN ghost
steering rule fails, we didn't unregister the original rule requested
by the user, introduced in commit d2fce8a906 "mlx4: Set
user-space raw Ethernet QPs to properly handle VXLAN traffic".

While here, add dump of the VXLAN portion of steering rules
so it can actually be seen when flow creation fails.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-10-30 19:48:58 -04:00
..
ah.c
alias_GUID.c
cm.c
cq.c IB/mlx4: Implement IB_QP_CREATE_USE_GFP_NOIO 2014-06-02 14:58:11 -07:00
doorbell.c
Kconfig
mad.c IB/mad: add new ioctl to ABI to support new registration options 2014-08-10 20:36:00 -07:00
main.c mlx4: Avoid leaking steering rules on flow creation error flow 2014-10-30 19:48:58 -04:00
Makefile
mcg.c
mlx4_ib.h IB/mlx4: Avoid accessing netdevice when building RoCE qp1 header 2014-09-22 09:46:53 -07:00
mr.c mlx4: Correct error flows in rereg_mr 2014-09-22 08:47:47 -07:00
qp.c Last late set of InfiniBand/RDMA fixes for 3.17: 2014-09-23 16:47:34 -07:00
srq.c IB/mlx4: Implement IB_QP_CREATE_USE_GFP_NOIO 2014-06-02 14:58:11 -07:00
sysfs.c
user.h