All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luuk Paulussen <luuk.paulussen@alliedtelesis.co.nz>
To: netfilter-devel@vger.kernel.org
Subject: Support marking/matching tc_index in netfilter
Date: Fri,  4 Dec 2015 10:59:10 +1300	[thread overview]
Message-ID: <1449179951-26327-1-git-send-email-luuk.paulussen@alliedtelesis.co.nz> (raw)

Hi All,

This patch is related to the recent discussion around increasing the skb->mark
size.

Given that increasing the size of the skb is undesirable, this patch makes use
of existing space in the skb reserved for tc marking and adds the possibility
to do that marking from netfilter code.  For performance reasons, the ability
to save/restore this mark to the connection has also been added.

The existing tcindex filter in the scheduler means that no changes are required
there.

This is a first draft, but I think it is reasonably complete in terms of the kernel
code required.


             reply	other threads:[~2015-12-03 21:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-03 21:59 Luuk Paulussen [this message]
2015-12-03 21:59 ` [PATCH] Add tcindex to conntrack and add netfilter target/matches Luuk Paulussen
2015-12-06 22:28   ` Luuk Paulussen
2015-12-06 22:45     ` Florian Westphal
2015-12-07  2:19       ` Luuk Paulussen
2015-12-07  3:05         ` Florian Westphal
2015-12-07  4:24           ` Luuk Paulussen
2015-12-09  9:07         ` Daniel Borkmann
2015-12-13 23:00           ` Luuk Paulussen
2015-12-14  9:50             ` Daniel Borkmann

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=1449179951-26327-1-git-send-email-luuk.paulussen@alliedtelesis.co.nz \
    --to=luuk.paulussen@alliedtelesis.co.nz \
    --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.