Revert "sctp: Fix race between OOTB responce and route removal"
[pandora-kernel.git] / net / sctp / output.c
index 6d56eec..c3b8549 100644 (file)
@@ -587,9 +587,7 @@ out:
        return err;
 no_route:
        kfree_skb(nskb);
-
-       if (asoc)
-               IP_INC_STATS(&init_net, IPSTATS_MIB_OUTNOROUTES);
+       IP_INC_STATS(&init_net, IPSTATS_MIB_OUTNOROUTES);
 
        /* FIXME: Returning the 'err' will effect all the associations
         * associated with a socket, although only one of the paths of the