aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/xfrm4_state.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/xfrm4_state.c')
-rw-r--r--net/ipv4/xfrm4_state.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/ipv4/xfrm4_state.c b/net/ipv4/xfrm4_state.c
index 97b0c7589711..c56b258fad73 100644
--- a/net/ipv4/xfrm4_state.c
+++ b/net/ipv4/xfrm4_state.c
@@ -122,6 +122,9 @@ __xfrm4_find_acq(u8 mode, u32 reqid, u8 proto,
122 add_timer(&x0->timer); 122 add_timer(&x0->timer);
123 xfrm_state_hold(x0); 123 xfrm_state_hold(x0);
124 list_add_tail(&x0->bydst, xfrm4_state_afinfo.state_bydst+h); 124 list_add_tail(&x0->bydst, xfrm4_state_afinfo.state_bydst+h);
125 h = __xfrm4_src_hash(saddr);
126 xfrm_state_hold(x0);
127 list_add_tail(&x0->bysrc, xfrm4_state_afinfo.state_bysrc+h);
125 wake_up(&km_waitq); 128 wake_up(&km_waitq);
126 } 129 }
127 if (x0) 130 if (x0)