summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/tcp_input.c2
-rw-r--r--sys/netinet/tcp_reass.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index d0c1f9b..967da22 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -445,7 +445,7 @@ tcp_input(m, off0)
#endif
/* Grab info from PACKET_TAG_IPFORWARD tag prepended to the chain. */
- next_hop = ip_claim_next_hop(m);
+ next_hop = m_claim_next_hop(m, PACKET_TAG_IPFORWARD);
#ifdef INET6
isipv6 = (mtod(m, struct ip *)->ip_v == 6) ? 1 : 0;
#endif
diff --git a/sys/netinet/tcp_reass.c b/sys/netinet/tcp_reass.c
index d0c1f9b..967da22 100644
--- a/sys/netinet/tcp_reass.c
+++ b/sys/netinet/tcp_reass.c
@@ -445,7 +445,7 @@ tcp_input(m, off0)
#endif
/* Grab info from PACKET_TAG_IPFORWARD tag prepended to the chain. */
- next_hop = ip_claim_next_hop(m);
+ next_hop = m_claim_next_hop(m, PACKET_TAG_IPFORWARD);
#ifdef INET6
isipv6 = (mtod(m, struct ip *)->ip_v == 6) ? 1 : 0;
#endif
OpenPOWER on IntegriCloud