netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] Adjust nfnetlink structure size between kernel and user space
@ 2010-03-09 18:05 Lutz Jaenicke
  2010-03-09 18:05 ` [PATCH 1/1] netfilter: nf_ct_tcp: pack nf_ct_tcp_flags to match " Lutz Jaenicke
  0 siblings, 1 reply; 13+ messages in thread
From: Lutz Jaenicke @ 2010-03-09 18:05 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Lutz Jaenicke

Revision 2:
Move __attribute__ ((packed)) to the end of the structure definition as
used in other locations allowing for simpler grep etc.

The attached patch adjust the size of struct nf_ct_tcp_flags in the kernel
to match the hardcoded size in the respective user space tools.
This issue has so far only been visible for an Intel IXP4xx network
processor (ARM big endian, gcc-4.2.4) while the same code and
toolchain works fine on powerpc (32bit) and x86_64.

Lutz Jaenicke (1):
  netfilter: nf_ct_tcp: pack nf_ct_tcp_flags to match user space

 include/linux/netfilter/nf_conntrack_tcp.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


^ permalink raw reply	[flat|nested] 13+ messages in thread
* [PATCH 0/1] Adjust nfnetlink structure size between kernel and user space
@ 2010-03-09 16:48 Lutz Jaenicke
  2010-03-09 16:48 ` [PATCH 1/1] netfilter: nf_ct_tcp: pack nf_ct_tcp_flags to match " Lutz Jaenicke
  0 siblings, 1 reply; 13+ messages in thread
From: Lutz Jaenicke @ 2010-03-09 16:48 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Lutz Jaenicke

The attached patch adjust the size of struct nf_ct_tcp_flags in the kernel
to match the hardcoded size in the respective user space tools.
This issue has so far only been visible for an Intel IXP4xx network
processor (ARM big endian, gcc-4.2.4) while the same code and
toolchain works fine on powerpc (32bit) and x86_64.

Lutz Jaenicke (1):
  netfilter: nf_ct_tcp: pack nf_ct_tcp_flags to match user space

 include/linux/netfilter/nf_conntrack_tcp.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-12-31 15:45 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-09 18:05 [PATCH 0/1] Adjust nfnetlink structure size between kernel and user space Lutz Jaenicke
2010-03-09 18:05 ` [PATCH 1/1] netfilter: nf_ct_tcp: pack nf_ct_tcp_flags to match " Lutz Jaenicke
2010-03-15 16:57   ` Patrick McHardy
2010-03-15 18:04     ` Jan Engelhardt
2010-03-15 19:03     ` David Miller
  -- strict thread matches above, loose matches on Subject: below --
2010-03-09 16:48 [PATCH 0/1] Adjust nfnetlink structure size between kernel and " Lutz Jaenicke
2010-03-09 16:48 ` [PATCH 1/1] netfilter: nf_ct_tcp: pack nf_ct_tcp_flags to match " Lutz Jaenicke
2010-03-09 17:02   ` Eric Dumazet
2010-03-09 17:18     ` Lutz Jaenicke
2010-03-09 17:03   ` Jan Engelhardt
2010-03-09 17:17     ` Lutz Jaenicke
2010-03-09 17:41     ` David Miller
2011-12-30 11:43   ` Lutz Jaenicke
2011-12-31 15:45     ` Pablo Neira Ayuso

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).