]> git.baikalelectronics.ru Git - kernel.git/commit
igb: XDP xmit back fix error code
authorSven Auhagen <sven.auhagen@voleatech.de>
Wed, 11 Nov 2020 17:04:48 +0000 (18:04 +0100)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 9 Dec 2020 23:26:57 +0000 (15:26 -0800)
commit27c67854a5770b3c7d49924027ebc331454d7639
tree58301282bc04bbd3298390167564ecdb018c7a55
parent89f651f6c929a7c86b66edf3c677f0845c653c61
igb: XDP xmit back fix error code

The igb XDP xmit back function should only return
defined error codes.

Fixes: 15d5613e8254 ("igb: add XDP support")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: Sven Auhagen <sven.auhagen@voleatech.de>
Tested-by: Sandeep Penigalapati <sandeep.penigalapati@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c