mlx4: do not expose broadcast address in MAC list
authorDidier Pallard <didier.pallard@6wind.com>
Mon, 5 Oct 2015 17:50:08 +0000 (19:50 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 20 Oct 2015 19:58:16 +0000 (21:58 +0200)
commit50d86a005e3272cf7fac4e34788ebf7853ca8454
treed9a80647e134214822634ebb0fea2a04e32b0bc6
parent04c6383de949aa37e1f421f881de58f2546f7f72
mlx4: do not expose broadcast address in MAC list

Use the last array entry to store the broadcast address and keep it hidden
by not reporting the entire array size.

This is done to prevent DPDK applications from attempting to modify or
remove it.

Signed-off-by: Didier Pallard <didier.pallard@6wind.com>
drivers/net/mlx4/mlx4.c