]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - net/core/sock.c
Merge branch 's3c-iis-header' into for-2.6.30
[mv-sheeva.git] / net / core / sock.c
index ac4f0e79226bd7c796ceb69931ccb4bdfaa5b570..f3a0d08cbb48389c67d36bafcf49fce1c0ace1ab 100644 (file)
@@ -289,11 +289,7 @@ int sock_queue_rcv_skb(struct sock *sk, struct sk_buff *skb)
 
        skb->dev = NULL;
        skb_set_owner_r(skb, sk);
-       /*
-        * release dst right now while its hot
-        */
-       dst_release(skb->dst);
-       skb->dst = NULL;
+
        /* Cache the SKB length before we tack it onto the receive
         * queue.  Once it is added it no longer belongs to us and
         * may be freed by other threads of control pulling packets