- x25-add-missing-sock_put-in-x25_receive_data.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     X.25 Add missing sock_put in x25_receive_data
has been removed from the -mm tree.  Its filename was
     x25-add-missing-sock_put-in-x25_receive_data.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: X.25 Add missing sock_put in x25_receive_data
From: ahendry <ahendry@xxxxxxxxxxx>

__x25_find_socket does a sock_hold.  This adds a missing sock_put in
x25_receive_data.

Signed-off-by: Andrew Hendry <andrew.hendry@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 net/x25/x25_dev.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN net/x25/x25_dev.c~x25-add-missing-sock_put-in-x25_receive_data net/x25/x25_dev.c
--- a/net/x25/x25_dev.c~x25-add-missing-sock_put-in-x25_receive_data
+++ a/net/x25/x25_dev.c
@@ -56,6 +56,7 @@ static int x25_receive_data(struct sk_bu
 			sk_add_backlog(sk, skb);
 		}
 		bh_unlock_sock(sk);
+		sock_put(sk);
 		return queued;
 	}
 
_

Patches currently in -mm which might be from ahendry@xxxxxxxxxxx are


-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux