[PATCH net-next] packet: fix broken build.

STALE5096d

2 messages, 2 authors, 2012-08-23 · open the first message on its own page

[PATCH net-next] packet: fix broken build.

From: Rami Rosen <hidden>
Date: 2012-08-23 13:01:06

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

Re: [PATCH net-next] packet: fix broken build.

From: David Miller <davem@davemloft.net>
Date: 2012-08-23 16:29:56

From: Rami Rosen <redacted>
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 <redacted>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help