diff options
Diffstat (limited to 'net/ipv6/xfrm6_state.c')
-rw-r--r-- | net/ipv6/xfrm6_state.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/ipv6/xfrm6_state.c b/net/ipv6/xfrm6_state.c index a1a1f5476442..2fb07850449f 100644 --- a/net/ipv6/xfrm6_state.c +++ b/net/ipv6/xfrm6_state.c | |||
@@ -126,6 +126,9 @@ __xfrm6_find_acq(u8 mode, u32 reqid, u8 proto, | |||
126 | add_timer(&x0->timer); | 126 | add_timer(&x0->timer); |
127 | xfrm_state_hold(x0); | 127 | xfrm_state_hold(x0); |
128 | list_add_tail(&x0->bydst, xfrm6_state_afinfo.state_bydst+h); | 128 | list_add_tail(&x0->bydst, xfrm6_state_afinfo.state_bydst+h); |
129 | h = __xfrm6_src_hash(saddr); | ||
130 | xfrm_state_hold(x0); | ||
131 | list_add_tail(&x0->bysrc, xfrm6_state_afinfo.state_bysrc+h); | ||
129 | wake_up(&km_waitq); | 132 | wake_up(&km_waitq); |
130 | } | 133 | } |
131 | if (x0) | 134 | if (x0) |