net/mlx5: add Netlink message size check in rule cleanup
authorViacheslav Ovsiienko <viacheslavo@mellanox.com>
Sat, 10 Nov 2018 09:59:26 +0000 (09:59 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 13 Nov 2018 23:35:53 +0000 (00:35 +0100)
commitb9e5c3ab2e5334fe0f1b4028b721082af1cb2518
treef9cd8c4f4b702268039fb0d7f6db86528a6a42e2
parent00ae11c4e876e05988c7ed87bfb12d7113bb7900
net/mlx5: add Netlink message size check in rule cleanup

This patch is preparation for the following fix, we are going to send
Netlink message from buffer in one-by-one fashion. It is highly
desirable to check multimessage buffer consistency for debug purposes.

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
drivers/net/mlx5/mlx5_flow_tcf.c