aboutsummaryrefslogtreecommitdiff
path: root/libs/libpfring
Commit message (Collapse)AuthorAge
* libpfring: backport patch fixing compilation error for sa_dataChristian Marangi2024-03-19
| | | | | | | | | | | | Backport patch fixing compilation error for sa_data not well defined. This is triggered only on platform that makes use of fortify string and cause compilation error due to the fact that sa_data is not well defined and his size is arbitrary. Patch has been accepted in the PF_RING project and this is just a backport. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* libpfring: update to 8.4.0John Thomson2023-06-25
| | | | | | | Release notes: https://github.com/ntop/PF_RING/releases/tag/8.4.0 Signed-off-by: John Thomson <git@johnthomson.fastmail.com.au>
* libpfring: fix compilation warningChristian Marangi2023-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix simple compilation warning with checking statically allocated variables and missing fallthrough. Fix compilation warning: /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/PF_RING-8.0.0/kernel/pf_ring.c: In function 'ring_release': /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/PF_RING-8.0.0/kernel/pf_ring.c:5489:6: error: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [-Werror=address] 5489 | && pfr->zc_device_entry->zc_dev.dev->name) { | ^~ In file included from ./include/linux/rtnetlink.h:7, from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/PF_RING-8.0.0/kernel/pf_ring.c:84: ./include/linux/netdevice.h:1986:33: note: 'name' declared here 1986 | char name[IFNAMSIZ]; | ^~~~ /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/PF_RING-8.0.0/kernel/pf_ring.c: In function 'ring_bind': /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/PF_RING-8.0.0/kernel/pf_ring.c:5620:18: error: the comparison will always evaluate as 'false' for the address of 'sa_data' will never be NULL [-Werror=address] 5620 | if(sa->sa_data == NULL) | ^~ In file included from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/PF_RING-8.0.0/kernel/pf_ring.c:82: ./include/linux/socket.h:34:25: note: 'sa_data' declared here 34 | char sa_data[14]; /* 14 bytes of protocol address */ | ^~~~~~~ /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/PF_RING-8.0.0/kernel/pf_ring.c: In function 'hash_pkt_cluster': /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/PF_RING-8.0.0/kernel/pf_ring.c:3937:7: error: this statement may fall through [-Werror=implicit-fallthrough=] 3937 | if(l3_proto == IPPROTO_TCP) | ^ /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/PF_RING-8.0.0/kernel/pf_ring.c:3944:3: note: here 3944 | case cluster_per_flow_2_tuple: | ^~~~ cc1: all warnings being treated as errors Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* treewide: remove AUTORELEASEPaul Fertser2023-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatically compute and substitute current values for all $(AUTORELEASE) instances as this feature is deprecated and shouldn't be used. The following temporary change was made to the core: diff --git a/rules.mk b/rules.mk index 57d7995d4fa8..f16367de87a8 100644 --- a/rules.mk +++ b/rules.mk @@ -429,7 +429,7 @@ endef abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1)))) COMMITCOUNT = $(if $(DUMP),0,$(call commitcount)) -AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1)) +AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile)) all: FORCE: ; And this command used to fix affected packages: for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \ sed 's^.*/\([^/]*\)/Makefile^\1^';); do make package/$i/download done Signed-off-by: Paul Fertser <fercerpav@gmail.com>
* libpfring: update to 8.0.0Rosen Penev2022-03-30
| | | | | | Fixes compilation with kernel 5.15 Signed-off-by: Rosen Penev <rosenp@gmail.com>
* treewide: Run refresh on all packagesIlya Lipnitskiy2021-02-20
| | | | | | | | | The crude loop I wrote to come up with this changeset: find -L package/feeds/packages/ -name patches | \ sed 's/patches$/refresh/' | sort | xargs make Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
* libpfring: update to 7.8.0Ilya Lipnitskiy2021-01-31
| | | | | | | | | | Add patch to fix compilation with kernel 5.10 Also submitted upstream: https://github.com/ntop/PF_RING/pull/687 https://github.com/ntop/PF_RING/pull/688 Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
* libpfring: update to 7.6.0Rosen Penev2020-03-21
| | | | | | Fixes compilation with kernel 5.4. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* libpfring: replace SUBDIRS with M in package recipeDavid Bauer2020-03-11
| | | | | | | 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: David Bauer <mail@david-bauer.net>
* libpfring: Fix compilation with kernel >= 4.16Rosen Penev2019-11-09
| | | | | | Backported upstream patch. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* libpfring: Merge pfring and libpfring in the same packageRosen Penev2019-11-09
| | | | | | | | | | They use the same source. It makes no sense to have them separate. Also cleaned up the Makefile to modern standards. Fixed license information. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* libpfring: Update to 7.4.0Rosen Penev2018-12-26
| | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* libpfring: Fix compilation when missing lexRosen Penev2018-11-13
| | | | | | | Buildbots are missing lex, which is normally a symlink to flex. This solution is used elsewhere in the package but missing here. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* libpfring: disable libnlStijn Tintel2018-10-07
| | | | | | | When libnl is built, libpfring links against it. This causes the build to fail due to a missing dependency. Disable libnl to avoid this. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* libpfring: fix kmod dependencyStijn Tintel2018-10-03
| | | | | | | The kmod package was renamed from kmod-pfring to kmod-pf-ring, but the dependency was not updated. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* libpfring: add new packageBangLang Huang2018-10-02
PF_RING is a high speed packet capture library that turns a commodity PC into an efficient and cheap network measurement box suitable for both packet and active traffic analysis and manipulation. Moreover, PF_RING opens totally new markets as it enables the creation of efficient application such as traffic balancers or packet filters in a matter of lines of codes. github : https://github.com/ntop/pf_ring official : https://www.ntop.org Signed-off-by: BangLang Huang <banglang.huang@foxmail.com> Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> [rename kmod-pfring to kmod-pf-ring]