diff --git a/[refs] b/[refs] index 67a2870984b3..70564aaa5b0b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c40499e04b2005e61f989824251f9343b55f96bb +refs/heads/master: 5b5f792a6a9a2f9ae812d151ed621f72e99b1725 diff --git a/trunk/net/core/pktgen.c b/trunk/net/core/pktgen.c index 3779c1438c11..0666a827bc62 100644 --- a/trunk/net/core/pktgen.c +++ b/trunk/net/core/pktgen.c @@ -2447,7 +2447,7 @@ static inline void free_SAs(struct pktgen_dev *pkt_dev) if (pkt_dev->cflows) { /* let go of the SAs if we have them */ int i = 0; - for (; i < pkt_dev->nflows; i++){ + for (; i < pkt_dev->cflows; i++) { struct xfrm_state *x = pkt_dev->flows[i].x; if (x) { xfrm_state_put(x);