Page MenuHomeFreeBSD

D26548.diff
No OneTemporary

D26548.diff

Index: head/sys/netgraph/ng_l2tp.c
===================================================================
--- head/sys/netgraph/ng_l2tp.c
+++ head/sys/netgraph/ng_l2tp.c
@@ -1453,15 +1453,17 @@
struct mbuf *m;
u_int delay;
- /* Make sure callout is still active before doing anything */
- if (callout_pending(&seq->rack_timer) ||
- (!callout_active(&seq->rack_timer)))
- return;
-
/* Sanity check */
L2TP_SEQ_CHECK(seq);
mtx_lock(&seq->mtx);
+ /* Make sure callout is still active before doing anything */
+ if (callout_pending(&seq->rack_timer) ||
+ !callout_active(&seq->rack_timer)) {
+ mtx_unlock(&seq->mtx);
+ return;
+ }
+
priv->stats.xmitRetransmits++;
/* Have we reached the retransmit limit? If so, notify owner. */

File Metadata

Mime Type
text/plain
Expires
Wed, Mar 25, 3:04 AM (4 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30293965
Default Alt Text
D26548.diff (753 B)

Event Timeline