diff --git a/pkg/network/ebpf/c/protocols/http/http.h b/pkg/network/ebpf/c/protocols/http/http.h index 6eb7919f676f4e..71be93251f5408 100644 --- a/pkg/network/ebpf/c/protocols/http/http.h +++ b/pkg/network/ebpf/c/protocols/http/http.h @@ -166,7 +166,7 @@ static __always_inline bool http_allow_packet(http_transaction_t *http, struct _ return false; } bool empty_payload = skb_info->data_off == skb->len; - if (empty_payload || is_fully_classified(stack) || is_protocol_layer_known(stack, LAYER_ENCRYPTION)) { + if (empty_payload || is_protocol_layer_known(stack, LAYER_ENCRYPTION)) { // if the payload data is empty or encrypted packet, we only // process it if the packet represents a TCP termination return skb_info->tcp_flags&(TCPHDR_FIN|TCPHDR_RST);