aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_state.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/xfrm/xfrm_state.c')
-rw-r--r--net/xfrm/xfrm_state.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c
index 69a3600afd9d..743f07e7f698 100644
--- a/net/xfrm/xfrm_state.c
+++ b/net/xfrm/xfrm_state.c
@@ -458,7 +458,7 @@ static struct xfrm_state *__xfrm_state_lookup(xfrm_address_t *daddr, __be32 spi,
458 x->id.daddr.a6)) 458 x->id.daddr.a6))
459 continue; 459 continue;
460 break; 460 break;
461 }; 461 }
462 462
463 xfrm_state_hold(x); 463 xfrm_state_hold(x);
464 return x; 464 return x;
@@ -493,7 +493,7 @@ static struct xfrm_state *__xfrm_state_lookup_byaddr(xfrm_address_t *daddr, xfrm
493 x->props.saddr.a6)) 493 x->props.saddr.a6))
494 continue; 494 continue;
495 break; 495 break;
496 }; 496 }
497 497
498 xfrm_state_hold(x); 498 xfrm_state_hold(x);
499 return x; 499 return x;
@@ -722,7 +722,7 @@ static struct xfrm_state *__find_acq_core(unsigned short family, u8 mode, u32 re
722 (struct in6_addr *)saddr)) 722 (struct in6_addr *)saddr))
723 continue; 723 continue;
724 break; 724 break;
725 }; 725 }
726 726
727 xfrm_state_hold(x); 727 xfrm_state_hold(x);
728 return x; 728 return x;
@@ -755,7 +755,7 @@ static struct xfrm_state *__find_acq_core(unsigned short family, u8 mode, u32 re
755 ipv6_addr_copy((struct in6_addr *)x->id.daddr.a6, 755 ipv6_addr_copy((struct in6_addr *)x->id.daddr.a6,
756 (struct in6_addr *)daddr); 756 (struct in6_addr *)daddr);
757 break; 757 break;
758 }; 758 }
759 759
760 x->km.state = XFRM_STATE_ACQ; 760 x->km.state = XFRM_STATE_ACQ;
761 x->id.proto = proto; 761 x->id.proto = proto;