]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/unix/af_unix.c
gso: Fix support for linear packets
[linux-2.6-omap-h63xx.git] / net / unix / af_unix.c
index d1b89820ab4f34bc5ad8d00d7fa221691f7876c5..baac91049b0ea0efcafb0259ff4146cc2d0e41f6 100644 (file)
@@ -1178,8 +1178,7 @@ out_unlock:
                unix_state_unlock(other);
 
 out:
-       if (skb)
-               kfree_skb(skb);
+       kfree_skb(skb);
        if (newsk)
                unix_release_sock(newsk, 0);
        if (other)