This fix is similar to nfq_udp_get_payload_len fix b09038c Both nfq_tcp_get_payload_len & nfq_udp_get_payload_len are one-liners, unlike nfq_{tcp,udp}_get_payload which have checks for a malformed packet. It is not a given that programs will always call xx_get_payload before xx_get_payload_len so if you like I can make a v2 where nfq_{tcp,udp}_get_payload_len do have such checks. Cheers ... Duncan. Duncan Roe (1): src: Fix value returned by nfq_tcp_get_payload_len() src/extra/tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.14.5