net/mlx5: fix removing VLAN filter
authorRaslan Darawsheh <rdarawsheh@asaltech.com>
Wed, 14 Sep 2016 11:53:50 +0000 (13:53 +0200)
committerBruce Richardson <bruce.richardson@intel.com>
Fri, 30 Sep 2016 10:27:18 +0000 (12:27 +0200)
commit70d32d3afebfdd827f5f949f588f56d9e7563520
treeebd0272e70fdfb1d746b923d87a5df520839803e
parentf08b6e71042d90f8f080e4a4b48cb4d29bfe4fd9
net/mlx5: fix removing VLAN filter

memmove was moving bytes as the number of elements next to i, while it
should move the number of elements multiplied by the size of each element.

Fixes: e9086978 ("mlx5: support VLAN filtering")

Signed-off-by: Raslan Darawsheh <rdarawsheh@asaltech.com>
drivers/net/mlx5/mlx5_vlan.c