]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - net/core/pktgen.c
[PKTGEN]: Fix double unlock of xfrm_state->lock
[mv-sheeva.git] / net / core / pktgen.c
index de33f36947e9064294085e6f775881b98a636a8a..285ec3ed9b378179248b8d8900ad983c9ee0f210 100644 (file)
@@ -2463,8 +2463,6 @@ static int pktgen_output_ipsec(struct sk_buff *skb, struct pktgen_dev *pkt_dev)
 
        x->curlft.bytes +=skb->len;
        x->curlft.packets++;
-       spin_unlock(&x->lock);
-
 error:
        spin_unlock(&x->lock);
        return err;