net/bnxt: fix MAC address check in flow validation
authorSomnath Kotur <somnath.kotur@broadcom.com>
Thu, 24 Oct 2019 07:44:26 +0000 (13:14 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 25 Oct 2019 17:23:23 +0000 (19:23 +0200)
commit26f044cebd554555d678f0cb9c26b1c32b14b393
tree93b54bd85e4c417b368447c0e153c1cad9b082d0
parentbd94753fc79c5a37e249ca440d081fdb7d5dc9fa
net/bnxt: fix MAC address check in flow validation

Add another check to flag zero mac address while validating/parsing
the flow arguments

Fixes: 407244800389 ("net/bnxt: allow only unicast MAC address filter creation")

Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
drivers/net/bnxt/bnxt_flow.c