git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
net
/
x25
/
x25_dev.c
diff --git
a/net/x25/x25_dev.c
b/net/x25/x25_dev.c
index
adfe7b8
..
328d80f
100644
(file)
--- a/
net/x25/x25_dev.c
+++ b/
net/x25/x25_dev.c
@@
-17,7
+17,6
@@
* 2000-09-04 Henner Eisen Prevent freeing a dangling skb.
*/
-#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/netdevice.h>
#include <linux/skbuff.h>
@@
-57,6
+56,7
@@
static int x25_receive_data(struct sk_buff *skb, struct x25_neigh *nb)
sk_add_backlog(sk, skb);
}
bh_unlock_sock(sk);
+ sock_put(sk);
return queued;
}