mlx4/bnx2x: Throw error() for promiscuous mode
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 10 Feb 2017 15:12:48 +0000 (10:12 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 10 Feb 2017 15:12:48 +0000 (10:12 -0500)
commit6fd7915c26e499d1712a308476887a12fdf649c9
tree0fedcb97e4b47ecbdc4f5ecfd894bf47b2143d52
parent173c6446927421073148cccfcad13ea988364c84
mlx4/bnx2x: Throw error() for promiscuous mode

Instead of panicking or silently failing.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/drivers/net/bnx2x/bnx2x_dev.c
kern/drivers/net/mlx4/main.c