Message ID | 1517947216-12970-3-git-send-email-odpbot@yandex.ru |
---|---|
State | New |
Headers | show |
Series | [v1,1/3] linux-gen: use packet pointer in _odp_ipsec_try_inline | expand |
diff --git a/platform/linux-generic/pktio/loop.c b/platform/linux-generic/pktio/loop.c index 79c21ee7a..1533a1b3c 100644 --- a/platform/linux-generic/pktio/loop.c +++ b/platform/linux-generic/pktio/loop.c @@ -155,7 +155,7 @@ static int loopback_recv(pktio_entry_t *pktio_entry, int index ODP_UNUSED, /* Try IPsec inline processing */ if (pktio_entry->s.config.inbound_ipsec && - odp_packet_has_ipsec(pkt)) + pkt_hdr->p.input_flags.ipsec) _odp_ipsec_try_inline(&pkt); pktio_entry->s.stats.in_octets += pkt_len;