* [PATCH lnf-queue] src: prepare for new release
@ 2017-06-20 22:28 Florian Westphal
2017-06-21 16:37 ` Pablo Neira Ayuso
0 siblings, 1 reply; 2+ messages in thread
From: Florian Westphal @ 2017-06-20 22:28 UTC (permalink / raw)
To: netfilter-devel; +Cc: Florian Westphal
Its been 5 years, things like GSO and NFQA_CT have been in the master
branch for years but no released versions support them.
Needs bump of libversion, we have new interfaces but are compatible with
still compatible with the earlier 1.0.2 release.
Signed-off-by: Florian Westphal <fw@strlen.de>
---
Hi, some people are rightfully complaining about new features
not being in any release, so I suggest we do one soon.
diff --git a/src/Makefile.am b/src/Makefile.am
index 6e5d50325525..9fdccfbd9ea5 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -18,7 +18,7 @@
# set age to 0.
# </snippet>
#
-LIBVERSION=4:0:3
+LIBVERSION=5:0:4
include ${top_srcdir}/Make_global.am
diff --git a/src/libnetfilter_queue.c b/src/libnetfilter_queue.c
index 211a8ba75d79..69db0e02fc5b 100644
--- a/src/libnetfilter_queue.c
+++ b/src/libnetfilter_queue.c
@@ -658,6 +658,7 @@ EXPORT_SYMBOL(nfq_set_mode);
* - NFQA_CFG_F_GSO (requires Linux kernel >= 3.10): the kernel will
* not normalize offload packets, i.e. your application will need to
* be able to handle packets larger than the mtu (up to 64k).
+ * Normalization is expensive, so this flag should always be set.
*
* If your application validates checksums (e.g., tcp checksum),
* then you must also check if the NFQA_SKB_INFO attribute is present.
--
2.13.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH lnf-queue] src: prepare for new release
2017-06-20 22:28 [PATCH lnf-queue] src: prepare for new release Florian Westphal
@ 2017-06-21 16:37 ` Pablo Neira Ayuso
0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2017-06-21 16:37 UTC (permalink / raw)
To: Florian Westphal; +Cc: netfilter-devel
On Wed, Jun 21, 2017 at 12:28:52AM +0200, Florian Westphal wrote:
> diff --git a/src/libnetfilter_queue.c b/src/libnetfilter_queue.c
> index 211a8ba75d79..69db0e02fc5b 100644
> --- a/src/libnetfilter_queue.c
> +++ b/src/libnetfilter_queue.c
> @@ -658,6 +658,7 @@ EXPORT_SYMBOL(nfq_set_mode);
> * - NFQA_CFG_F_GSO (requires Linux kernel >= 3.10): the kernel will
> * not normalize offload packets, i.e. your application will need to
> * be able to handle packets larger than the mtu (up to 64k).
> + * Normalization is expensive, so this flag should always be set.
With this on, I see more chances to hit the netlink attribute
limitation, so packets on the 64k will be truncated?
Probably good to document this too.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-06-21 16:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-20 22:28 [PATCH lnf-queue] src: prepare for new release Florian Westphal
2017-06-21 16:37 ` Pablo Neira Ayuso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).