hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/net/netfilter/nft_synproxy.c
....@@ -109,7 +109,7 @@
109109 {
110110 struct synproxy_options opts = {};
111111 struct sk_buff *skb = pkt->skb;
112
- int thoff = pkt->xt.thoff;
112
+ int thoff = nft_thoff(pkt);
113113 const struct tcphdr *tcp;
114114 struct tcphdr _tcph;
115115
....@@ -123,7 +123,7 @@
123123 return;
124124 }
125125
126
- tcp = skb_header_pointer(skb, pkt->xt.thoff,
126
+ tcp = skb_header_pointer(skb, thoff,
127127 sizeof(struct tcphdr),
128128 &_tcph);
129129 if (!tcp) {