diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2005-01-02 15:33:13 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2005-01-02 15:33:13 +0000 |
| commit | 97270cf1b6da11d92c7cd066a46797399579e337 (patch) | |
| tree | 04845842e99a8726737d694652764a6e27464991 /sys/netipx | |
| parent | 0cdc89223036cf40376dedab8d261bd56be471a1 (diff) | |
Notes
Diffstat (limited to 'sys/netipx')
| -rw-r--r-- | sys/netipx/spx_usrreq.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netipx/spx_usrreq.c b/sys/netipx/spx_usrreq.c index 4aa93a3a3855..099d42b9c60d 100644 --- a/sys/netipx/spx_usrreq.c +++ b/sys/netipx/spx_usrreq.c @@ -486,13 +486,14 @@ register struct spx *si; /* * Trim Acked data from output queue. */ + SOCKBUF_LOCK(&so->so_snd); while ((m = so->so_snd.sb_mb) != NULL) { if (SSEQ_LT((mtod(m, struct spx *))->si_seq, si->si_ack)) - sbdroprecord(&so->so_snd); + sbdroprecord_locked(&so->so_snd); else break; } - sowwakeup(so); + sowwakeup_locked(so); cb->s_rack = si->si_ack; update_window: if (SSEQ_LT(cb->s_snxt, cb->s_rack)) |
