All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefano Brivio <sbrivio@redhat.com>
To: Jozsef Kadlecsik <kadlec@netfilter.org>
Cc: Chen Yi <yiche@redhat.com>, netfilter-devel@vger.kernel.org
Subject: [PATCH 0/2] ipset: Two fixes for destination MAC address matches in ip,mac types
Date: Mon, 24 Jun 2019 15:20:10 +0200	[thread overview]
Message-ID: <cover.1561381646.git.sbrivio@redhat.com> (raw)

Commit 8cc4ccf58379 ("ipset: Allow matching on destination MAC address for
mac and ipmac sets"), ipset.git commit 1543514c46a7, properly allows
destination matching for hash:mac set types, but missed to remove the
previous restriction for type hash:ip,mac and introduced an obvious mistake
in both bitmap:ip,mac and hash:ip,mac.

Drop the left-over check and correct the mistake, to fix the issue reported
by Chen Yi.

Stefano Brivio (2):
  ipset: Actually allow destination MAC address for hash:ip,mac sets too
  ipset: Copy the right MAC address in bitmap:ip,mac and hash:ip,mac
    sets

 kernel/net/netfilter/ipset/ip_set_bitmap_ipmac.c | 2 +-
 kernel/net/netfilter/ipset/ip_set_hash_ipmac.c   | 6 +-----
 2 files changed, 2 insertions(+), 6 deletions(-)

-- 
2.20.1


             reply	other threads:[~2019-06-24 13:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-24 13:20 Stefano Brivio [this message]
2019-06-24 13:20 ` [PATCH 1/2] ipset: Actually allow destination MAC address for hash:ip,mac sets too Stefano Brivio
2019-06-24 13:20 ` [PATCH 2/2] ipset: Copy the right MAC address in bitmap:ip,mac and hash:ip,mac sets Stefano Brivio
2019-06-28 19:12 ` [PATCH 0/2] ipset: Two fixes for destination MAC address matches in ip,mac types Jozsef Kadlecsik

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=cover.1561381646.git.sbrivio@redhat.com \
    --to=sbrivio@redhat.com \
    --cc=kadlec@netfilter.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=yiche@redhat.com \
    /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.