Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1496185 > unrolled thread

4.9-rc0: nf_hooks_ingress missing, breaking compilation

Started byPavel Machek <pavel@ucw.cz>
First post2016-10-06 09:00 +0200
Last post2016-10-06 16:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  4.9-rc0: nf_hooks_ingress missing, breaking compilation Pavel Machek <pavel@ucw.cz> - 2016-10-06 09:00 +0200
    Re: 4.9-rc0: nf_hooks_ingress missing, breaking compilation Aaron Conole <aconole@bytheb.org> - 2016-10-06 16:00 +0200

#1496185 — 4.9-rc0: nf_hooks_ingress missing, breaking compilation

FromPavel Machek <pavel@ucw.cz>
Date2016-10-06 09:00 +0200
Subject4.9-rc0: nf_hooks_ingress missing, breaking compilation
Message-ID<spaOR-4Wl-7@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Hi!

In kernel based on edadd0e, I get plenty of errors such as:

net/netfilter/core.c:96:3: note: in expansion of macro ‘rcu_assign_pointer’
   rcu_assign_pointer(reg->dev->nf_hooks_ingress, entry);
   ^
In file included from ./include/linux/linkage.h:4:0,
                 from ./include/linux/kernel.h:6,
                 from net/netfilter/core.c:10:
net/netfilter/core.c:96:30: error: ‘struct net_device’ has no member named ‘nf_hooks_ingress’
   rcu_assign_pointer(reg->dev->nf_hooks_ingress, entry);
                              ^

Config is attached.

[Ok, I guess testing -rc0 is "a bit too brave" :-)]

Best regards,
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[toc] | [next] | [standalone]


#1496670

FromAaron Conole <aconole@bytheb.org>
Date2016-10-06 16:00 +0200
Message-ID<sphnk-Oy-27@gated-at.bofh.it>
In reply to#1496185
Pavel Machek <pavel@ucw.cz> writes:

> Hi!

Hi Pavel,

> In kernel based on edadd0e, I get plenty of errors such as:

In this case, I screwed up - sincere apologies.

Enabling CONFIG_NETFILTER_INGRESS will work around this error for the
time being, while the fix makes it way through the various trees.

> net/netfilter/core.c:96:3: note: in expansion of macro ‘rcu_assign_pointer’
>    rcu_assign_pointer(reg->dev->nf_hooks_ingress, entry);
>    ^
> In file included from ./include/linux/linkage.h:4:0,
>                  from ./include/linux/kernel.h:6,
>                  from net/netfilter/core.c:10:
> net/netfilter/core.c:96:30: error: ‘struct net_device’ has no member named ‘nf_hooks_ingress’
>    rcu_assign_pointer(reg->dev->nf_hooks_ingress, entry);
>                               ^
>
> Config is attached.
>
> [Ok, I guess testing -rc0 is "a bit too brave" :-)]
>
> Best regards,
> 									Pavel

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web