Skip to contentSkip to conversation

Xtables 1.26 vs. Linux Kernel 2.6.34[.0] - Compile problem

DISCUSSION - 2 participants 2 messages May 21, 2010 netfilter

lore
Share & tools
lore

-

author
#0 lore raw

Did commit a79ff731a1b277d0e92d9453bdf374e04cec717a make it into the 2.6.34.0 kernel release?  It appears not to have, at least when I looked at my source code archive....  The kernel is dated 2010-05-16, yet I did NOT see this patch in the changelog despite its April 13 date.

Quoted 22 lines · Patrick McHardy

To: "Jan Engelhardt" <[email protected]>
Cc: "Netfilter Developer Mailing List" <[email protected]>, [email protected], [email protected]

Quoted 3 lines · Jan Engelhardt

Forwarding to nf-dev for the records...

Seems like we need #include <linux/kernel.h> in x_tables.h now.

This should be fixed by commit a79ff731, "netfilter: xtables: make XT_ALIGN() usable in exported headers by exporting __ALIGN_KERNEL()"

Quoted 11 lines

---------- Forwarded message ----------
From: - <[email protected]>
To: [email protected]

(compiling against kernel headers - for modules):

make[3]: Entering directory `/usr/src/xtables-addons-1.26/extensions' CC     libxt_CHAOS.oo
libxt_CHAOS.c:99: warning: implicit declaration of function `ALIGN' libxt_CHAOS.c:99: error: initializer element is not constant
...

Quoted 5 lines

-----Inline Attachment Follows-----
commit a79ff731a1b277d0e92d9453bdf374e04cec717a
Author: Alexey Dobriyan <[email protected]>
Date:   Tue Apr 13 11:21:46 2010 +0200
...

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw
Quoted 1 line · On Friday 2010-05-21 21:14, - wrote:

Did commit a79ff731a1b277d0e92d9453bdf374e04cec717a make it into the 2.6.34.0 kernel release?  It appears not to have, at least when I looked at my source code archive....  The kernel is dated 2010-05-16, yet I did NOT see this patch in the changelog despite its April 13 date.

Indeed:

21:14 borg:~/code/linux > git describe
a79ff731a1b277d0e92d9453bdf374e04cec717a
v2.6.34-rc1-1132-ga79ff73

21:14 borg:~/code/linux > git describe --contains a79ff731a1b277d0e92d9453bdf374e04cec717a
fatal: cannot describe 'a79ff731a1b277d0e92d9453bdf374e04cec717a'

21:16 borg:~/code/linux > git tag XHEAD kabernext/master 21:16 borg:~/code/linux > git describe --contains --match=XHEAD a79ff731a1b277d0e92d9453bdf374e04cec717a
XHEAD~8^2~25

Looks indeed like something only in 2.6.35. Especially when doing the much simpler

git show v2.6.34:include/linux/netfilter/x_tables.h

:-)
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html