diff options
| author | 2015-10-24 16:08:48 +0000 | |
|---|---|---|
| committer | 2015-10-24 16:08:48 +0000 | |
| commit | 93e31651eec8c8f955992959e7c0bc52118c16af (patch) | |
| tree | 8f0451b4529079816a9dcf5c3bf170a3abd09bcb /sys/netinet/tcp_input.c | |
| parent | clarify use of "bgpctl show rib in|out neighbor FOO" (diff) | |
| download | wireguard-openbsd-93e31651eec8c8f955992959e7c0bc52118c16af.tar.xz wireguard-openbsd-93e31651eec8c8f955992959e7c0bc52118c16af.zip | |
Ignore Router Advertisment's current hop limit.
Appart from the usual inet6 axe murdering exercise to keep you fit, this
allows us to get rid of a lot of layer violation due to the use of per-
ifp variables to store the current hop limit.
Imputs from bluhm@, ok phessler@, florian@, bluhm@
Diffstat (limited to 'sys/netinet/tcp_input.c')
| -rw-r--r-- | sys/netinet/tcp_input.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index f7c98b7f756..a77cc639190 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_input.c,v 1.305 2015/09/11 08:17:06 claudio Exp $ */ +/* $OpenBSD: tcp_input.c,v 1.306 2015/10/24 16:08:48 mpi Exp $ */ /* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */ /* @@ -4363,8 +4363,7 @@ syn_cache_respond(struct syn_cache *sc, struct mbuf *m) break; #ifdef INET6 case AF_INET6: - ip6->ip6_hlim = in6_selecthlim(NULL, - ro->ro_rt ? ro->ro_rt->rt_ifp : NULL); + ip6->ip6_hlim = in6_selecthlim(NULL); error = ip6_output(m, NULL /*XXX*/, (struct route_in6 *)ro, 0, NULL, NULL); |
