kernel/net/netfilter/nft_synproxy.c
.. .. @@ -109,7 +109,7 @@ 109 109 { 110 110 struct synproxy_options opts = {}; 111 111 struct sk_buff *skb = pkt->skb; 112 - int thoff = pkt->xt.thoff;112 + int thoff = nft_thoff(pkt);113 113 const struct tcphdr *tcp; 114 114 struct tcphdr _tcph; 115 115 .. .. @@ -123,7 +123,7 @@ 123 123 return; 124 124 } 125 125 126 - tcp = skb_header_pointer(skb, pkt->xt.thoff,126 + tcp = skb_header_pointer(skb, thoff,127 127 sizeof(struct tcphdr), 128 128 &_tcph); 129 129 if (!tcp) {