aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/nat46
Commit message (Collapse)AuthorAgeFilesLines
* nat46: bump to latest git HEADChristian Marangi2023-05-121-4/+4
| | | | | | | | | | | | | | | | | | | | 4c5beee get rid of VLA on the stack, and fix the resulting error of a too large stack frame 80dda1d Fix LAN->WAN ping failure with over MTU size on outgoing interface Commit 4c5beee as a side effect fix a compilation warning with /__w/openwrt/openwrt/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-malta_be/nat46-2022-03-30-95ca1c3b/nat46/modules/nat46-netdev.c: In function 'nat46_remove': /__w/openwrt/openwrt/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-malta_be/nat46-2022-03-30-95ca1c3b/nat46/modules/nat46-netdev.c:260:9: error: ISO C90 forbids variable length array 'config_remove' [-Werror=vla] 260 | char config_remove[buflen]; | ^~~~ /__w/openwrt/openwrt/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-malta_be/nat46-2022-03-30-95ca1c3b/nat46/modules/nat46-netdev.c:280:17: error: ISO C90 forbids variable length array 'config' [-Werror=vla] 280 | char config[buflen]; | ^~~~ cc1: all warnings being treated as errors Also this now require nf_defrag_ipv6 as a new dependency. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* nat46: update to git HEADHans Dedecker2022-04-261-3/+3
| | | | | | | | | 95ca1c3 nat46-core: ignore IPv4 options when translating packets 39778c2 add a module argument to ignore TOS translate for IPv4 9a36ee1 add a module argument to ignore TOS translate for IPv4 79190a8 add a module argument to ignore TOS translate for IPv4 Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* nat46: update to latest git HEADHans Dedecker2021-12-051-3/+3
| | | | | | | d9bc161 nat46-core: Fix typo since day one (#31) 840e235 Fix coverity issues observed so far (#30) Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* nat46: update to latest git HEADHans Dedecker2021-11-101-3/+3
| | | | | | | 1fdf2a3 Fix kernel panic due to device deletion (#29) e7b48d1 add the mutex lock for create/delete/config/insert nat46 devices to fix nat46 module crash issues. (#28) Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* nat46: fix translation of ICMP protocols parameter problem and unreachableHans Dedecker2021-08-011-3/+3
| | | | | | 9b3a819 nat46-core: Fix translation of ICMP protocols parameter problem and unreachable (#27) Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* nat46: fix memory leakHans Dedecker2021-05-241-3/+3
| | | | | | 0d5860d fix memory leak in nat46_netdev_destroy().The netdev is forgotten to free in nat46_netdev_destroy function (#26) Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* nat46: update to git HEADHans Dedecker2021-04-241-3/+3
| | | | | | | | | 9df230a Zero checksum handling (#25) 7688102 skip generating a UDP4 csum if the UDP6 csum is 0 and zero_csum_pass is set 4a9e4b1 zero csum: avoid calling the checksum adjustment function if udp csum is zero 2de14c5 add a module argument to skip checksum adjust for UDP if checksum is zero Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* nat46: Fix PKG_MIRROR_HASHHauke Mehrtens2020-12-171-1/+1
| | | | | | | The PKG_MIRROR_HASH was not updated when updating the package. Fixes: f75c70aecaca ("nat46: update to latest git HEAD") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* nat46: update to latest git HEADHans Dedecker2020-08-231-2/+2
| | | | | | 362640b nat46-module: fix compilation with kernel 5.6 Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* nat46: update to latest git HEADHans Dedecker2020-08-072-37/+3
| | | | | | | | 71e9f09 nat46-core: fix compilation with kernel 5.4 Remove 100-kernel-5.4-compat patch as upstream accepted Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* nat46: update to latest git HEADHans Dedecker2020-07-161-3/+3
| | | | | | ac712ad nat46-netdev: Add support for removing a rule Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* nat46: fix translation of ICMP protocol unreachableHans Dedecker2020-07-072-5/+5
| | | | | | | | Refresh patch 1182f30 nat46-core: Fix translation of ICMP protocol unreachable Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* nat46: Fix compile with kernel 5.4Hauke Mehrtens2020-02-281-0/+34
| | | | | | | nf_reset() was renamed to nf_reset_ct() in upstream Linux commit 895b5c9f206e ("netfilter: drop bridge nf reset from nf_reset)" Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: replace SUBDIRS with M in package recipesTomasz Maciej Nowak2020-02-221-1/+1
| | | | | | | The SUBDIRS variable has been removed in kernel 5.4, and was deprecated since the beginnig of kernel git history in favour of M or KBUILD_EXTMOD. Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
* nat46: Fix mirror hashHauke Mehrtens2019-02-071-1/+1
| | | | | | | | The package hash does not match the one of the package found on the mirrors and which is generated when I do the git clone. Fixes: 4856fa30a6c ("nat46: import for routing, add myself as maintainer") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* nat46: import for routing, add myself as maintainerHans Dedecker2019-01-271-0/+35
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>