All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Jan Engelhardt <jengelh@medozas.de>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH 2/2] netfilter: rectify XT_FUNCTION_MAXNAMELEN usage
Date: Tue, 27 Apr 2010 15:35:25 +0200	[thread overview]
Message-ID: <4BD6E81D.7060300@trash.net> (raw)
In-Reply-To: <alpine.LSU.2.01.1004261447250.28260@obet.zrqbmnf.qr>

Jan Engelhardt wrote:
> netfilter: x_tables: rectify XT_FUNCTION_MAXNAMELEN usage
> 
> There has been quite a confusion in userspace about
> XT_FUNCTION_MAXNAMELEN; because struct xt_entry_match used MAX-1,
> userspace would have to do an awkward MAX-2 for maximum length
> checking (due to '\0'). This patch adds a new define that matches the
> definition of XT_TABLE_MAXNAMELEN - being the size of the actual
> struct member, not one off.

Applied, thanks Jan.

      reply	other threads:[~2010-04-27 13:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-21 13:21 nf-next: two small ones Jan Engelhardt
2010-04-21 13:21 ` [PATCH 1/2] nefilter: use pr_devel instead of pr_debug Jan Engelhardt
2010-04-22 10:46   ` Patrick McHardy
2010-04-22 10:53     ` Jan Engelhardt
2010-04-22 11:00       ` Patrick McHardy
2010-04-22 11:01         ` David Miller
2010-04-22 11:04           ` Patrick McHardy
2010-04-22 11:00       ` David Miller
2010-04-22 10:55     ` David Miller
2010-04-21 13:21 ` [PATCH 2/2] netfilter: rectify XT_FUNCTION_MAXNAMELEN usage Jan Engelhardt
2010-04-22 10:48   ` Patrick McHardy
2010-04-26 12:47     ` Jan Engelhardt
2010-04-27 13:35       ` Patrick McHardy [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=4BD6E81D.7060300@trash.net \
    --to=kaber@trash.net \
    --cc=jengelh@medozas.de \
    --cc=netfilter-devel@vger.kernel.org \
    /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.