Message ID | b54a1756ec5c64580aadc68f191b59c9280b6dd8.1696261222.git.ecree.xilinx@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 937a0feab42ea76ae2dc6a8b1921ca167b8f9baa |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | sfc: conntrack offload for tunnels | expand |
diff --git a/drivers/net/ethernet/sfc/tc.c b/drivers/net/ethernet/sfc/tc.c index 257bec75e952..f4172fc6bd4f 100644 --- a/drivers/net/ethernet/sfc/tc.c +++ b/drivers/net/ethernet/sfc/tc.c @@ -1683,7 +1683,7 @@ static int efx_tc_flower_replace_foreign(struct efx_nic *efx, extack); if (rc) goto release; - } else { + } else if (!tc->common.chain_index) { /* This is not a tunnel decap rule, ignore it */ netif_dbg(efx, drv, efx->net_dev, "Ignoring foreign filter without encap match\n");