src: prepare for new release
Florian Westphal
maintainerPATCH 1/1 src: prepare for new release
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 <[email protected]>
---
Hi, some people are rightfully complaining about new features not being in any release, so I suggest we do one soon.
src/Makefile.am +1 -1
@@ -18,7 +18,7 @@ # set age to 0. # </snippet> # -LIBVERSION=4:0:3 +LIBVERSION=5:0:4 include ${top_srcdir}/Make_global.am
src/libnetfilter_queue.c +1 -0
@@ -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.
Signature · 1 line
2.13.0
Pablo Neira Ayuso
maintainersrc/libnetfilter_queue.c EXPORT_SYMBOL(nfq_set_mode); · line 661
Quoted 9 lines · Florian Westphal
src/libnetfilter_queue.c +1
-0@@ -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.