Patchwork net: ifdef struct sock::sk_async_wait_queue

login
register
mail settings
Submitter Alexey Dobriyan
Date Nov. 12, 2008, 12:13 p.m.
Message ID <20081112121308.GA4759@x200.localdomain>
Download mbox | patch
Permalink /patch/8354/
State Accepted
Delegated to: David Miller
Headers show

Comments

Alexey Dobriyan - Nov. 12, 2008, 12:13 p.m.
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(+)

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - Nov. 13, 2008, 7:25 a.m.
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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

--- 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;