Richard Fuchs
89b8b6d710
MT#55283 move check for destinations
...
Don't check destination indexes if the non-forwarding flag is set, as
everything would be zero
NGCP-Flow: mr14.1
Change-Id: Ieedf8009c1a9670aba4c57ee988c0dead18a79f1
(cherry picked from commit 908d5d0f39 )
4 days ago
Federico Cabiddu
c6c70711d2
MT#55283 kernel-module: zero skb->tstamp before forwarding to fix fq horizon drop
...
Change-Id: Ie8f976373993b1ea07f568bbfa59d646dcbb3ae6
(cherry picked from commit 8aa17085fd )
(cherry picked from commit 7a610397a5 )
3 weeks ago
Federico Cabiddu
5e42e527a8
MT#55283 kernel-module: zero queue_mapping before forwarding to fix Cilium throttle drop
...
Change-Id: Ib559d291023bcb3ca691f0c8bd66a634ed451aff
(cherry picked from commit ee99d86706 )
(cherry picked from commit 1d9b29e2a5 )
3 weeks ago
Federico Cabiddu
4b236aaaf8
MT#55283 kernel-module: clear skb->mark before forwarding to fix Cilium routing
...
Change-Id: Ibac5e897ed79d483ae4e8c4c3417fdd78a35f591
(cherry picked from commit 6b02c024b1 )
(cherry picked from commit 6dd2fab79b )
3 weeks ago
Richard Fuchs
3d3cef9d0b
MT#55283 improve version handling
...
Change-Id: I8ff496f8460c5c5e0bee6b6bb6f3d2245291c597
(cherry picked from commit 7e6c2c30a4 )
(cherry picked from commit 857be2dd71 )
1 month ago
Richard Fuchs
bf151a4471
MT#55283 fix refcount release
...
Closes #2067
Change-Id: I9fa79d67f158a3b5e00cdc83a12c494a4459f8a9
(cherry picked from commit 14769ec05d )
(cherry picked from commit 24bef62219 )
1 month ago
Richard Fuchs
35674a22fc
MT#55283 honour .release-version also for .ko
...
Change-Id: If145e018248444b9b6a30a4b6ee5984ab27ca8fd
(cherry picked from commit 02916e72c8 )
(cherry picked from commit 6303d93859 )
1 month ago
Richard Fuchs
1de1f41850
MT#55283 fix stream close race condition
...
Using the stream object after dropping the reference is unsafe.
Change-Id: I58df474272cc7e168d6d65e5f6ace3a42fe22ef1
(cherry picked from commit 9a3f33a703 )
(cherry picked from commit 77cd57eb23 )
2 months ago
Richard Fuchs
454983a3a8
MT#55283 add TOS to kernel player
...
Change-Id: I1e13015675b2b539e9c7cde01fba96a912726793
3 months ago
Richard Fuchs
14561524dc
MT#55283 protect against possibly signed int
...
and add an additional comment
Change-Id: I5cb3f434a21879343568f87425356507c2717d7b
3 months ago
Richard Fuchs
e24245501d
MT#55283 add const qualifiers
...
Change-Id: I8351c55fad8d446cd336d645dff8c79410d72967
3 months ago
Richard Fuchs
84ca9e65ba
MT#55283 use kthread_*_stop
...
Change-Id: Icf1f8bfbec073fbe7e842cb7671d673bbee5a9dc
3 months ago
Richard Fuchs
900dfd5f86
MT#55283 signed refcount for consistency
...
Change-Id: I56008b19b60988127634c70e8703297f6059b93c
3 months ago
Richard Fuchs
00cc8f5703
MT#55283 add comments
...
Change-Id: If8a09345dd168fab69209a347239d52e240ce8b5
3 months ago
Richard Fuchs
4b6b2eb1ab
MT#55283 fix compilation for RHEL
...
Closes #2042
Change-Id: I8b0de1bfdfa46370365511809daffd56bfb8a055
4 months ago
root
503c4aaffe
MT#55283 Fix nft_rtpengine compilation on RHEL/AlmaLinux 9.x kernel 5.14
...
Add support for RHEL/AlmaLinux/Rocky Linux 9.x kernels which backport
the 'reset' parameter to nft_expr_dump function from kernel 6.2.0.
This affects all RHEL 9 family distributions with kernel 5.14.
Tested on AlmaLinux 9.7 with kernel 5.14.0-611.11.1.el9_7.x86_64
Closes #2038
Closes #2037
Change-Id: I305be17cdbf7730acbc7d9b978694c7b0eb37b02
5 months ago
Richard Fuchs
59ec32fa7d
MT#55283 gitignore update
...
Change-Id: I7b4ab3687e877a9a318709c1b43eb85bef073064
5 months ago
Richard Fuchs
addb93f051
MT#55283 gitignore update
...
Change-Id: Ia1766eca51e85c345e58114912996a3eb11ab3a8
5 months ago
Richard Fuchs
b9d1509244
MT#55283 rename module
...
Change-Id: I81f5370655af00d3a99593eb17cb1d62d961370c
5 months ago
Richard Fuchs
7eeee273e5
MT#55283 add native nftables support
...
Register expression for IPv4, IPv6, and INET protocols.
Support one u32 attribute, which is the table ID.
Change-Id: If6385dab53c79c9b3de80df470fa537fbb6d33f6
5 months ago
Richard Fuchs
b7586e2730
MT#55283 generalise packet handler functions
...
Also switch from XT_ to NFT_ constants and update the return type as
appropriate.
Change-Id: I2ddb88bd9899ac23d3fac6bfdeb38dff5f9d2813
5 months ago
Richard Fuchs
50e86ed14a
MT#55283 pull up extraction of PAR_STATE_NET ptr
...
Don't pass the xt_action_param into the inner functions as they don't
need it. Get the struct net pointer first and then pass that down.
Change-Id: I82e95c93ed1066bf051fae63ff7697d72265f24b
5 months ago
Richard Fuchs
5586ed0ed6
MT#55283 C90 compile fixes
...
Change-Id: I5e6bba67507689ba9b1c14865bedb8625373508c
5 months ago
Richard Fuchs
0e1ba80ead
MT#55283 fix module refcount
...
Change-Id: Ife7dc65308b91b223bc67dd4f81f1e0fb079c5df
5 months ago
Richard Fuchs
a5e5a27ea0
MT#55283 use seq_printf for /status
...
Change-Id: I71cd6e34e590da6b6c9b339191642a2a565dcb4e
5 months ago
Richard Fuchs
99d30be6aa
MT#55283 name spacing
...
Change-Id: Ia95f405f1fdad4690cab071cb68ca25cc465bd1f
5 months ago
Richard Fuchs
4071e42a3e
MT#55283 fix off-by-one bug
...
Change-Id: I578554e956a6630b49362ea9245255c13d6c69b4
5 months ago
Richard Fuchs
0eea0db4ef
MT#63317 amend and fix some logging
...
Change-Id: I7bacf207de52614e5ece4c8aa0243d5033b6cbfa
7 months ago
Richard Fuchs
ce951ab320
MT#63317 fix AEAD encryption with header extension
...
Change-Id: I75ddb3f4b711b31f21a240b04ac680a31894fa16
7 months ago
Richard Fuchs
dc5544ead1
MT#63317 fix incorrect bsearch syntax
...
Change-Id: I0ea7c3cff1fc43783391b4af1b003cd6ddf3b5e1
7 months ago
Richard Fuchs
847d004319
MT#55283 revamp kernel shm strategy
...
Change-Id: I16f8b60317fc21b20a5cff5b0ba5b6026981fc6b
7 months ago
Richard Fuchs
d78064344a
MT#63317 add SSRC mapping to kernel
...
Change-Id: If3af2ff872be340be57a2c53c35fcf2d83af6587
7 months ago
Richard Fuchs
3b0496979a
MT#63317 extmap parsing in kernel
...
Change-Id: I2d4b0f0ba08d0dd793bd4e9716731dfe96ee155a
8 months ago
Richard Fuchs
e3a9eeea00
MT#63317 select kernel output group from PT
...
Change-Id: Ia818c42ffa8db916c37df87d239187bec1646d9f
8 months ago
Richard Fuchs
8cf038e4fa
MT#63317 rework kernel output grouping
...
Change-Id: I3e798e5f1e5ae2f4af247819e3d323cdbf56b36b
8 months ago
Richard Fuchs
827b6afb4a
MT#63317 kernel support for RTP MID
...
Change-Id: Ib3582649474fb7a926e47cb61d140bc389ef0d86
8 months ago
Richard Fuchs
de961d5b43
MT#55283 delegate shm refcount to table
...
We don't track individual uses of the shared memory, so we can't safely
free it when the mapping is closed, as the internal forwarding targets
may still point into it. Delay freeing until the table itself is freed.
Each mmap then counts as another reference on the table. Unmap then
simply decreases the reference count but never actually frees the pages.
Change-Id: Ic33454155cd0083f733711ce52699047cff9e56c
8 months ago
Richard Fuchs
bce87931a6
MT#63317 fix seq print formatting
...
Change-Id: Id5f42162263ac1a6fe2820f387516a3fbb64570f
8 months ago
Richard Fuchs
1b05cb043e
MT#63317 support ext filter in kernel
...
Change-Id: Ic98dde266c7707dd3350d651032d989511ee3bee
8 months ago
Richard Fuchs
1f9cd2e1d7
MT#63317 rename rtp_extension to rtp_exthdr
...
for consistency
Change-Id: Idac591d68729dd186e76950ca3af47f760a6c5cf
8 months ago
Richard Fuchs
8a3d8c911d
MT#63317 re-fix extension parsing
...
Basically a revert of Ie62fa4ed
Maybe this is correct now?
Change-Id: Ia2b1b5d35c2a209430a23110f1b929e2b1ac80fb
8 months ago
Richard Fuchs
262d1f7b5e
MT#63317 fix RTP extension parsing
...
Change-Id: Ie62fa4ed2dc16d42d579c34b1fe541955759dfed
9 months ago
Richard Fuchs
a9fccfa2df
MT#55283 add missing MODULE_DESCRIPTION/AUTHOR
...
Change-Id: Ieeae511d568f22efe26491e069b266e1adbda349
11 months ago
Richard Fuchs
38700abf0b
MT#55283 use ccflags instead of EXTRA_CFLAGS
...
EXTRA_CFLAGS is deprecated and stopped working in 6.15(ish)
Ref: https://bugs.debian.org/1106709
Ref: e966ad0edd
Change-Id: Iba835c7dca89106ff2ca7ffba8a7de947c9a4ff8
11 months ago
Richard Fuchs
db77c69912
MT#55283 remove kernel patching code
...
Unused and unmaintained
Change-Id: I61930f757c9b1f536fc4177ca1ab6ee5e3650f5e
11 months ago
Richard Fuchs
277bd13d97
MT#55283 fix kernel version generating booboo
...
Also make shellcheck happy.
Change-Id: Ic8a7bd67866ef2c75dec40dbe4207fc92ef31ed2
11 months ago
Richard Fuchs
3b37004b6f
MT#55283 convert last_packet to int64_t
...
Change-Id: I55c9e6efd85de65a57b614cc9c5a0330a2de7fe8
1 year ago
Richard Fuchs
7b9ec8699f
MT#55283 convert last_packet to int64_t
...
Change-Id: Ib199a61352865566e45d5957aa520099d86066ee
1 year ago
Richard Fuchs
afc5ac96c2
MT#55283 version-guard static_assert
...
We don't have this available before kernel 5.1
Ref: https://bugs.debian.org/1101804
Change-Id: I4f2f768738d0f53fec28ed3f8e8f577cbc13431e
Reported-by: Andreas Beckmann <anbe@debian.org>
1 year ago
Richard Fuchs
73616ae28d
MT#55283 implement munmap
...
Requires reference-counting the VM area
Change-Id: I975527667b2d92e31c55048af3de3bc092474ab3
1 year ago