From: David Miller <davem@davemloft.net>
To: rosenr@marvell.com
Cc: netdev@vger.kernel.org, xemul@parallels.com, edumazet@google.com
Subject: Re: [PATCH net-next] packet: fix broken build.
Date: Thu, 23 Aug 2012 09:29:54 -0700 (PDT) [thread overview]
Message-ID: <20120823.092954.400957330511761110.davem@davemloft.net> (raw)
In-Reply-To: <309002C0DA137042828828FC53D7A934012B21B8CCCE@IL-MB01.marvell.com>
From: Rami Rosen <rosenr@marvell.com>
Date: Thu, 23 Aug 2012 15:55:41 +0300
> This patch fixes a broken build due to a missing header:
> ...
> CC net/ipv4/proc.o
> In file included from include/net/net_namespace.h:15,
> from net/ipv4/proc.c:35:
> include/net/netns/packet.h:11: error: field 'sklist_lock' has incomplete type
> ...
>
> The lock of netns_packet has been replaced by a recent patch to be a mutex instead of a spinlock,
> but we need to replace the header file to be linux/mutex.h instead of linux/spinlock.h as well.
>
> See commit 0fa7fa98dbcc2789409ed24e885485e645803d7f:
> packet: Protect packet sk list with mutex (v2) patch,
>
> Signed-off-by: Rami Rosen <rosenr@marvell.com>
Applied, thanks.
prev parent reply other threads:[~2012-08-23 16:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-23 12:55 [PATCH net-next] packet: fix broken build Rami Rosen
2012-08-23 16:29 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120823.092954.400957330511761110.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=netdev@vger.kernel.org \
--cc=rosenr@marvell.com \
--cc=xemul@parallels.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).