diff options
| author | 2016-12-19 15:47:19 +0000 | |
|---|---|---|
| committer | 2016-12-19 15:47:19 +0000 | |
| commit | 90b45443b67a376572b2321f43a258597c65e525 (patch) | |
| tree | 79cc0d2a848d8d60809faef23a4bec7790694d9e /sys/netinet/udp_usrreq.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/netinet/udp_usrreq.c')
| -rw-r--r-- | sys/netinet/udp_usrreq.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index 83d07131c24..22e1513cdb2 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udp_usrreq.c,v 1.225 2016/12/19 08:36:49 mpi Exp $ */ +/* $OpenBSD: udp_usrreq.c,v 1.226 2016/12/19 15:47:19 mpi Exp $ */ /* $NetBSD: udp_usrreq.c,v 1.28 1996/03/16 23:54:03 christos Exp $ */ /* @@ -1029,9 +1029,7 @@ udp_output(struct inpcb *inp, struct mbuf *m, struct mbuf *addr, goto release; if (inp->inp_lport == 0) { - int s = splsoftnet(); error = in_pcbbind(inp, NULL, curproc); - splx(s); if (error) goto release; } |
