All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: Nicole <nicole@cats-muvva.net>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: Non-Understood Message
Date: Tue, 13 Nov 2012 23:53:31 +0100	[thread overview]
Message-ID: <20121113225331.GG20678@breakpoint.cc> (raw)
In-Reply-To: <50A2A40E.5050802@cats-muvva.net>

Nicole <nicole@cats-muvva.net> wrote:
> MYTARGET.0 target: invalid size 65540 (kernel) != (user) 4

[..]

> struct xt_mytarget_tginfo {
>     __u8    value;
> 
>     __u8    mode;
> 
>     bool    final;
> 
>     bool    set_value;
> 
>     __u8    by_port[USHRT_MAX];
> };

Its too large.  The kernel <-> userspace abi encodes size
in 'u16' datatype, thus the target size sent by userspace overflows.

      reply	other threads:[~2012-11-13 22:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-13 19:48 Non-Understood Message Nicole
2012-11-13 22:53 ` Florian Westphal [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=20121113225331.GG20678@breakpoint.cc \
    --to=fw@strlen.de \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=nicole@cats-muvva.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.