diff options
| author | 2016-12-19 15:47:19 +0000 | |
|---|---|---|
| committer | 2016-12-19 15:47:19 +0000 | |
| commit | 90b45443b67a376572b2321f43a258597c65e525 (patch) | |
| tree | 79cc0d2a848d8d60809faef23a4bec7790694d9e /sys/netinet6/udp6_output.c | |
| parent | Timer sending packets need to grab the NET_LOCK(). (diff) | |
| download | wireguard-openbsd-90b45443b67a376572b2321f43a258597c65e525.tar.xz wireguard-openbsd-90b45443b67a376572b2321f43a258597c65e525.zip | |
Remove redundant splsoftnet().
ok bluhm@
Diffstat (limited to 'sys/netinet6/udp6_output.c')
| -rw-r--r-- | sys/netinet6/udp6_output.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netinet6/udp6_output.c b/sys/netinet6/udp6_output.c index 4a3c588a4a8..d7c2e486f90 100644 --- a/sys/netinet6/udp6_output.c +++ b/sys/netinet6/udp6_output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udp6_output.c,v 1.52 2016/11/18 02:53:47 dlg Exp $ */ +/* $OpenBSD: udp6_output.c,v 1.53 2016/12/19 15:47:19 mpi Exp $ */ /* $KAME: udp6_output.c,v 1.21 2001/02/07 11:51:54 itojun Exp $ */ /* @@ -159,9 +159,7 @@ udp6_output(struct inpcb *in6p, struct mbuf *m, struct mbuf *addr6, goto release; if (in6p->inp_lport == 0){ - int s = splsoftnet(); error = in_pcbbind(in6p, NULL, p); - splx(s); if (error) goto release; } |
