summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2014-10-08 20:19:58 +0000
committerbluhm <bluhm@openbsd.org>2014-10-08 20:19:58 +0000
commitdd7a7ce6364516cdd8eda6cd8d876f1bb0c381c9 (patch)
treec7bc96df9c5849bcb94836dbcd233dd334699596 /sys/netinet/tcp_input.c
parentiRemove the #ifdef WIN32 implementation from libevent. (diff)
downloadwireguard-openbsd-dd7a7ce6364516cdd8eda6cd8d876f1bb0c381c9.tar.xz
wireguard-openbsd-dd7a7ce6364516cdd8eda6cd8d876f1bb0c381c9.zip
Remove #ifdef SO_OOBINLINE, it is always defined.
OK henning@
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r--sys/netinet/tcp_input.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index cf74f095c08..9f782e3477f 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_input.c,v 1.278 2014/07/22 11:06:10 mpi Exp $ */
+/* $OpenBSD: tcp_input.c,v 1.279 2014/10/08 20:19:58 bluhm Exp $ */
/* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */
/*
@@ -2061,11 +2061,8 @@ step6:
* but if two URG's are pending at once, some out-of-band
* data may creep in... ick.
*/
- if (th->th_urp <= (u_int16_t) tlen
-#ifdef SO_OOBINLINE
- && (so->so_options & SO_OOBINLINE) == 0
-#endif
- )
+ if (th->th_urp <= (u_int16_t) tlen &&
+ (so->so_options & SO_OOBINLINE) == 0)
tcp_pulloutofband(so, th->th_urp, m, hdroptlen);
} else
/*