diff options
Diffstat (limited to 'net/unix/garbage.c')
-rw-r--r-- | net/unix/garbage.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/net/unix/garbage.c b/net/unix/garbage.c index f14ad6635fcc..f8bcf5d114d9 100644 --- a/net/unix/garbage.c +++ b/net/unix/garbage.c | |||
@@ -63,7 +63,7 @@ | |||
63 | * Damn. Added missing check for ->dead in listen queues scanning. | 63 | * Damn. Added missing check for ->dead in listen queues scanning. |
64 | * | 64 | * |
65 | */ | 65 | */ |
66 | 66 | ||
67 | #include <linux/kernel.h> | 67 | #include <linux/kernel.h> |
68 | #include <linux/sched.h> | 68 | #include <linux/sched.h> |
69 | #include <linux/string.h> | 69 | #include <linux/string.h> |
@@ -118,7 +118,7 @@ static struct sock *unix_get_socket(struct file *filp) | |||
118 | * Keep the number of times in flight count for the file | 118 | * Keep the number of times in flight count for the file |
119 | * descriptor if it is for an AF_UNIX socket. | 119 | * descriptor if it is for an AF_UNIX socket. |
120 | */ | 120 | */ |
121 | 121 | ||
122 | void unix_inflight(struct file *fp) | 122 | void unix_inflight(struct file *fp) |
123 | { | 123 | { |
124 | struct sock *s = unix_get_socket(fp); | 124 | struct sock *s = unix_get_socket(fp); |
@@ -190,7 +190,7 @@ void unix_gc(void) | |||
190 | unix_sk(s)->gc_tree = GC_ORPHAN; | 190 | unix_sk(s)->gc_tree = GC_ORPHAN; |
191 | } | 191 | } |
192 | /* | 192 | /* |
193 | * Everything is now marked | 193 | * Everything is now marked |
194 | */ | 194 | */ |
195 | 195 | ||
196 | /* Invariant to be maintained: | 196 | /* Invariant to be maintained: |
@@ -227,7 +227,7 @@ void unix_gc(void) | |||
227 | } | 227 | } |
228 | 228 | ||
229 | /* | 229 | /* |
230 | * Mark phase | 230 | * Mark phase |
231 | */ | 231 | */ |
232 | 232 | ||
233 | while (!empty_stack()) | 233 | while (!empty_stack()) |
@@ -237,11 +237,11 @@ void unix_gc(void) | |||
237 | 237 | ||
238 | spin_lock(&x->sk_receive_queue.lock); | 238 | spin_lock(&x->sk_receive_queue.lock); |
239 | skb = skb_peek(&x->sk_receive_queue); | 239 | skb = skb_peek(&x->sk_receive_queue); |
240 | 240 | ||
241 | /* | 241 | /* |
242 | * Loop through all but first born | 242 | * Loop through all but first born |
243 | */ | 243 | */ |
244 | 244 | ||
245 | while (skb && skb != (struct sk_buff *)&x->sk_receive_queue) { | 245 | while (skb && skb != (struct sk_buff *)&x->sk_receive_queue) { |
246 | /* | 246 | /* |
247 | * Do we have file descriptors ? | 247 | * Do we have file descriptors ? |