<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in tc_pedit.h</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>1e63e5a8 - net: sched: Annotate struct tc_pedit with __counted_by</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/uapi/linux/tc_act/tc_pedit.h#1e63e5a8</link>
        <description>net: sched: Annotate struct tc_pedit with __counted_byPrepare for the coming implementation by GCC and Clang of the __counted_byattribute. Flexible array members annotated with __counted_by can havetheir accesses bounds-checked at run-time checking via CONFIG_UBSAN_BOUNDS(for array indexing) and CONFIG_FORTIFY_SOURCE (for strcpy/memcpy-familyfunctions).As found with Coccinelle[1], add __counted_by for struct tc_pedit.Additionally, since the element count member must be set before accessingthe annotated flexible array member, move its initialization earlier.Link: https://github.com/kees/kernel-tools/blob/trunk/coccinelle/examples/counted_by.cocci [1]Signed-off-by: Kees Cook &lt;keescook@chromium.org&gt;Reviewed-by: Gustavo A. R. Silva &lt;gustavoars@kernel.org&gt;Acked-by: Jamal Hadi Salim &lt;jhs@mojatatu.com&gt;Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

            List of files:
            /linux-6.15/include/uapi/linux/tc_act/tc_pedit.h</description>
        <pubDate>Fri, 16 Feb 2024 23:27:44 +0000</pubDate>
        <dc:creator>Kees Cook &lt;keescook@chromium.org&gt;</dc:creator>
    </item>
<item>
        <title>257eeded - net: Move all TC actions identifiers to one place</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/uapi/linux/tc_act/tc_pedit.h#257eeded</link>
        <description>net: Move all TC actions identifiers to one placeMove all the TC identifiers to one place, to the same enum that definesthe identifier of police action. This makes it easier choose numbers fornew actions since they are now defined in one place. We preserve theoriginal values for binary compatibility. New IDs should be added insidethe enum.Signed-off-by: Eli Cohen &lt;eli@mellanox.com&gt;Acked-by: Jiri Pirko &lt;jiri@mellanox.com&gt;Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

            List of files:
            /linux-6.15/include/uapi/linux/tc_act/tc_pedit.h</description>
        <pubDate>Sun, 10 Feb 2019 12:24:59 +0000</pubDate>
        <dc:creator>Eli Cohen &lt;eli@mellanox.com&gt;</dc:creator>
    </item>
<item>
        <title>d020d455 - net sched actions: fix coding style in pedit headers</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/uapi/linux/tc_act/tc_pedit.h#d020d455</link>
        <description>net sched actions: fix coding style in pedit headersFix coding style issues in tc pedit headers detected by thecheckpatch script.Reviewed-by: Simon Horman &lt;simon.horman@netronome.com&gt;Signed-off-by: Roman Mashak &lt;mrv@mojatatu.com&gt;Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

            List of files:
            /linux-6.15/include/uapi/linux/tc_act/tc_pedit.h</description>
        <pubDate>Wed, 27 Jun 2018 17:33:31 +0000</pubDate>
        <dc:creator>Roman Mashak &lt;mrv@mojatatu.com&gt;</dc:creator>
    </item>
<item>
        <title>6f52b16c - License cleanup: add SPDX license identifier to uapi header files with no license</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/uapi/linux/tc_act/tc_pedit.h#6f52b16c</link>
        <description>License cleanup: add SPDX license identifier to uapi header files with no licenseMany user space API headers are missing licensing information, whichmakes it hard for compliance tools to determine the correct license.By default are files without license information under the defaultlicense of the kernel, which is GPLV2.  Marking them GPLV2 would excludethem from being included in non GPLV2 code, which is obviously notintended. The user space API headers fall under the syscall exceptionwhich is in the kernels COPYING file:   NOTE! This copyright does *not* cover user programs that use kernel   services by normal system calls - this is merely considered normal use   of the kernel, and does *not* fall under the heading of &quot;derived work&quot;.otherwise syscall usage would not be possible.Update the files which contain no license information with an SPDXlicense identifier.  The chosen identifier is &apos;GPL-2.0 WITHLinux-syscall-note&apos; which is the officially assigned identifier for theLinux syscall exception.  SPDX license identifiers are a legally bindingshorthand, which can be used instead of the full boiler plate text.This patch is based on work done by Thomas Gleixner and Kate Stewart andPhilippe Ombredanne.  See the previous patch in this series for themethodology of how this patch was researched.Reviewed-by: Kate Stewart &lt;kstewart@linuxfoundation.org&gt;Reviewed-by: Philippe Ombredanne &lt;pombredanne@nexb.com&gt;Reviewed-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/include/uapi/linux/tc_act/tc_pedit.h</description>
        <pubDate>Wed, 01 Nov 2017 14:08:43 +0000</pubDate>
        <dc:creator>Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;</dc:creator>
    </item>
<item>
        <title>853a14ba - net/act_pedit: Introduce &apos;add&apos; operation</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/uapi/linux/tc_act/tc_pedit.h#853a14ba</link>
        <description>net/act_pedit: Introduce &apos;add&apos; operationThis command could be useful to inc/dec fields.For example, to forward any TCP packet and decrease its TTL:$ tc filter add dev enp0s9 protocol ip parent ffff: \    flower ip_proto tcp \    action pedit munge ip ttl add 0xff pipe \    action mirred egress redirect dev veth0In the example above, adding 0xff to this u8 field is actuallydecreasing it by one, since the operation is masked.Signed-off-by: Amir Vadai &lt;amir@vadai.me&gt;Reviewed-by: Or Gerlitz &lt;ogerlitz@mellanox.com&gt;Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

            List of files:
            /linux-6.15/include/uapi/linux/tc_act/tc_pedit.h</description>
        <pubDate>Tue, 07 Feb 2017 07:56:08 +0000</pubDate>
        <dc:creator>Amir Vadai &lt;amir@vadai.me&gt;</dc:creator>
    </item>
<item>
        <title>71d0ed70 - net/act_pedit: Support using offset relative to the conventional network headers</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/uapi/linux/tc_act/tc_pedit.h#71d0ed70</link>
        <description>net/act_pedit: Support using offset relative to the conventional network headersExtend pedit to enable the user setting offset relative to networkheaders. This change would enable to work with more complex headerschemes (vs the simple IPv4 case) where setting a fixed offset relativeto the network header is not enough.After this patch, the action has information about the exact header typeand field inside this header. This information could be used later onfor hardware offloading of pedit.Backward compatibility was being kept:1. Old kernel &lt;-&gt; new userspace2. New kernel &lt;-&gt; old userspace3. add rule using new userspace &lt;-&gt; dump using old userspace4. add rule using old userspace &lt;-&gt; dump using new userspaceWhen using the extended api, new netlink attributes are being used. Thisway, operation will fail in (1) and (3) - and no malformed rule be addedor dumped. Of course, new user space that doesn&apos;t need the newfunctionality can use the old netlink attributes and operation willsucceed.Since action can support both api&apos;s, (2) should work, and it is easy towrite the new user space to have (4) work.The action is having a strict check that only header types and commandsit can handle are accepted. This way future additions will be mucheasier.Usage example:$ tc filter add dev enp0s9 protocol ip parent ffff: \  flower \    ip_proto tcp \    dst_port 80 \  action pedit munge tcp dport set 8080 pipe \  action mirred egress redirect dev veth0Will forward tcp port whose original dest port is 80, while modifyingthe destination port to 8080.Signed-off-by: Amir Vadai &lt;amir@vadai.me&gt;Reviewed-by: Or Gerlitz &lt;ogerlitz@mellanox.com&gt;Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

            List of files:
            /linux-6.15/include/uapi/linux/tc_act/tc_pedit.h</description>
        <pubDate>Tue, 07 Feb 2017 07:56:07 +0000</pubDate>
        <dc:creator>Amir Vadai &lt;amir@vadai.me&gt;</dc:creator>
    </item>
<item>
        <title>9854518e - sched: align nlattr properly when needed</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/uapi/linux/tc_act/tc_pedit.h#9854518e</link>
        <description>sched: align nlattr properly when neededSigned-off-by: Nicolas Dichtel &lt;nicolas.dichtel@6wind.com&gt;Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

            List of files:
            /linux-6.15/include/uapi/linux/tc_act/tc_pedit.h</description>
        <pubDate>Tue, 26 Apr 2016 08:06:18 +0000</pubDate>
        <dc:creator>Nicolas Dichtel &lt;nicolas.dichtel@6wind.com&gt;</dc:creator>
    </item>
<item>
        <title>611128eb - UAPI: (Scripted) Disintegrate include/linux/tc_act</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/uapi/linux/tc_act/tc_pedit.h#611128eb</link>
        <description>UAPI: (Scripted) Disintegrate include/linux/tc_actSigned-off-by: David Howells &lt;dhowells@redhat.com&gt;Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;Acked-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;Acked-by: Michael Kerrisk &lt;mtk.manpages@gmail.com&gt;Acked-by: Paul E. McKenney &lt;paulmck@linux.vnet.ibm.com&gt;Acked-by: Dave Jones &lt;davej@redhat.com&gt;

            List of files:
            /linux-6.15/include/uapi/linux/tc_act/tc_pedit.h</description>
        <pubDate>Tue, 09 Oct 2012 08:49:05 +0000</pubDate>
        <dc:creator>David Howells &lt;dhowells@redhat.com&gt;</dc:creator>
    </item>
</channel>
</rss>
