diff options
| -rw-r--r-- | drivers/net/ethernet/cavium/thunder/nicvf_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/cavium/thunder/nicvf_main.c b/drivers/net/ethernet/cavium/thunder/nicvf_main.c index 49b80da51ba7..805ab45e9b5a 100644 --- a/drivers/net/ethernet/cavium/thunder/nicvf_main.c +++ b/drivers/net/ethernet/cavium/thunder/nicvf_main.c | |||
| @@ -565,8 +565,10 @@ static inline bool nicvf_xdp_rx(struct nicvf *nic, struct bpf_prog *prog, | |||
| 565 | return true; | 565 | return true; |
| 566 | default: | 566 | default: |
| 567 | bpf_warn_invalid_xdp_action(action); | 567 | bpf_warn_invalid_xdp_action(action); |
| 568 | /* fall through */ | ||
| 568 | case XDP_ABORTED: | 569 | case XDP_ABORTED: |
| 569 | trace_xdp_exception(nic->netdev, prog, action); | 570 | trace_xdp_exception(nic->netdev, prog, action); |
| 571 | /* fall through */ | ||
| 570 | case XDP_DROP: | 572 | case XDP_DROP: |
| 571 | /* Check if it's a recycled page, if not | 573 | /* Check if it's a recycled page, if not |
| 572 | * unmap the DMA mapping. | 574 | * unmap the DMA mapping. |
