diff options
author | 1999-11-04 11:24:23 +0000 | |
---|---|---|
committer | 1999-11-04 11:24:23 +0000 | |
commit | dbce8c1069e5b04b6313f450b8deb4c777f21d49 (patch) | |
tree | 4ffb146e0ba74fa813f482d2c7a493cb50392945 /sys/netinet/tcp_output.c | |
parent | gettdb() should be at spltdb(). (diff) | |
download | wireguard-openbsd-dbce8c1069e5b04b6313f450b8deb4c777f21d49.tar.xz wireguard-openbsd-dbce8c1069e5b04b6313f450b8deb4c777f21d49.zip |
Add comment about gettdb() and spl level.
Diffstat (limited to 'sys/netinet/tcp_output.c')
-rw-r--r-- | sys/netinet/tcp_output.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c index 7f79d2067a7..5324d78f931 100644 --- a/sys/netinet/tcp_output.c +++ b/sys/netinet/tcp_output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_output.c,v 1.21 1999/07/06 20:17:53 cmetz Exp $ */ +/* $OpenBSD: tcp_output.c,v 1.22 1999/11/04 11:24:24 ho Exp $ */ /* $NetBSD: tcp_output.c,v 1.16 1997/06/03 16:17:09 kml Exp $ */ /* @@ -812,6 +812,8 @@ send: #endif /* INET6 */ } + /* XXX gettdb() should really be called at spltdb(). */ + * XXX this is splsoftnet(), currently they are the same. */ tdb = gettdb(0, &sa, IPPROTO_TCP); if (tdb == NULL) return (EPERM); |