Re: [Intel-wired-lan] [PATCH net] ixgbe: add NULL pointer check before calling xdp_rxq_info_reg

2021-01-22 Thread Paul Menzel
Dear Yunjian, Thank you for looking at these issue. Am 22.01.21 um 12:23 schrieb wangyunjian: From: Yunjian Wang The rx_ring->q_vector could be NULL, so it need to be checked before calling xdp_rxq_info_reg. A small nit: need*s* Fixes: b02e5a0ebb172 ("xsk: Propagate napi_id to XDP socket

[PATCH net] ixgbe: add NULL pointer check before calling xdp_rxq_info_reg

2021-01-22 Thread wangyunjian
From: Yunjian Wang The rx_ring->q_vector could be NULL, so it need to be checked before calling xdp_rxq_info_reg. Fixes: b02e5a0ebb172 ("xsk: Propagate napi_id to XDP socket Rx path") Addresses-Coverity: ("Dereference after null check") Signed-off-by: Yunjian Wang --- drivers/net/ethernet/inte