Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941988 - >=sys-kernel/gentoo-sources-6.11.4 possible regression prevents use of ipv6 iptables mark
Summary: >=sys-kernel/gentoo-sources-6.11.4 possible regression prevents use of ipv6 i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: https://git.kernel.org/pub/scm/linux/...
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2024-10-22 23:08 UTC by Alexander Stoll
Modified: 2024-11-02 17:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Stoll 2024-10-22 23:08:11 UTC
Spotted first on 6.11.4, also present on 6.11.5, after moving up from 6.11.3 with same config ip6tables is no longer able to use MARK:

ip6tables -A FORWARD -p 58 --icmpv6-type 128 -j MARK --set-mark 1 -m comment --comment "PINGS"

bails out with

--
MARK: bad value for option "--set-mark", or out of range (0-4294967295)
--

Of course module is verified compiled and loaded.
Comment 2 Mike Pagano gentoo-dev 2024-10-24 15:01:39 UTC
(In reply to Alexander Stoll from comment #0)
> Spotted first on 6.11.4, also present on 6.11.5, after moving up from 6.11.3
> with same config ip6tables is no longer able to use MARK:
> 
> ip6tables -A FORWARD -p 58 --icmpv6-type 128 -j MARK --set-mark 1 -m comment
> --comment "PINGS"
> 
> bails out with
> 
> --
> MARK: bad value for option "--set-mark", or out of range (0-4294967295)
> --
> 
> Of course module is verified compiled and loaded.

Can you test the patch reference in URL: ?
Comment 3 Alexander Stoll 2024-10-24 18:18:07 UTC
Already done, looks good, seems fixed with patched typos...
Comment 4 Mike Pagano gentoo-dev 2024-10-25 11:39:13 UTC
(In reply to Alexander Stoll from comment #3)
> Already done, looks good, seems fixed with patched typos...

ty
Comment 5 Larry the Git Cow gentoo-dev 2024-10-25 21:10:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bedd938701cb9c5c68dbf99b5f6bdcdba756e09

commit 7bedd938701cb9c5c68dbf99b5f6bdcdba756e09
Author:     Mike Pagano <mpagano@gentoo.org>
AuthorDate: 2024-10-25 21:09:49 +0000
Commit:     Mike Pagano <mpagano@gentoo.org>
CommitDate: 2024-10-25 21:09:49 +0000

    sys-kernel/gentoo-sources: netfilter: xtables: fix typo
    
    Fix typo causing some targets not to load on IPv6
    Closes: https://bugs.gentoo.org/941988
    
    Signed-off-by: Mike Pagano <mpagano@gentoo.org>

 sys-kernel/gentoo-sources/Manifest                 |  3 ++
 .../gentoo-sources/gentoo-sources-6.11.5-r1.ebuild | 37 ++++++++++++++++++++++
 2 files changed, 40 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cfc99dd60a7bcd661947bfb6c6a7c8cf851bae9

commit 3cfc99dd60a7bcd661947bfb6c6a7c8cf851bae9
Author:     Mike Pagano <mpagano@gentoo.org>
AuthorDate: 2024-10-25 21:09:02 +0000
Commit:     Mike Pagano <mpagano@gentoo.org>
CommitDate: 2024-10-25 21:09:02 +0000

    sys-kernel/gentoo-sources: netfilter: xtables: fix typo
    
    Fix typo causing some targets not to load on IPv6
    Bug: https://bugs.gentoo.org/941988
    
    Signed-off-by: Mike Pagano <mpagano@gentoo.org>

 sys-kernel/gentoo-sources/Manifest                 |  3 +++
 .../gentoo-sources/gentoo-sources-6.6.58-r1.ebuild | 27 ++++++++++++++++++++++
 2 files changed, 30 insertions(+)