Netdev List
 help / color / mirror / Atom feed
* [PATCH] net: ifdef struct sock::sk_async_wait_queue
@ 2008-11-12 12:13 Alexey Dobriyan
  2008-11-13  7:25 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Dobriyan @ 2008-11-12 12:13 UTC (permalink / raw)
  To: davem; +Cc: netdev

Every user is under CONFIG_NET_DMA already, so ifdef field as well.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 include/net/sock.h |    2 ++
 1 file changed, 2 insertions(+)

--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -239,7 +239,9 @@ struct sock {
 	int			sk_sndbuf;
 	struct sk_buff_head	sk_receive_queue;
 	struct sk_buff_head	sk_write_queue;
+#ifdef CONFIG_NET_DMA
 	struct sk_buff_head	sk_async_wait_queue;
+#endif
 	int			sk_wmem_queued;
 	int			sk_forward_alloc;
 	gfp_t			sk_allocation;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: ifdef struct sock::sk_async_wait_queue
  2008-11-12 12:13 [PATCH] net: ifdef struct sock::sk_async_wait_queue Alexey Dobriyan
@ 2008-11-13  7:25 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-11-13  7:25 UTC (permalink / raw)
  To: adobriyan; +Cc: davem, netdev

From: Alexey Dobriyan <adobriyan@gmail.com>
Date: Wed, 12 Nov 2008 15:13:08 +0300

> Every user is under CONFIG_NET_DMA already, so ifdef field as well.
> 
> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>

Applied, thanks Alexey.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-13  7:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-12 12:13 [PATCH] net: ifdef struct sock::sk_async_wait_queue Alexey Dobriyan
2008-11-13  7:25 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox