On Sat, Mar 06, 2021 at 12:21:59AM +0100, Florian Westphal wrote:
> Pablo Neira Ayuso wrote:
> > > If I understand correctly, the connection tracking netlink interface
> > > is an exception here because it has its own handling of dealing with
> > > congestion ("more reliable"?) so you need to disa
Pablo Neira Ayuso wrote:
> > If I understand correctly, the connection tracking netlink interface
> > is an exception here because it has its own handling of dealing with
> > congestion ("more reliable"?) so you need to disable the "default
> > congestion control"?
>
> In conntrack, you have to c
On Fri, Mar 05, 2021 at 02:43:05PM -0500, Alexander Ahring Oder Aring wrote:
> Hi Pablo,
>
> I appreciate your very detailed response. Thank you.
>
> On Thu, Mar 4, 2021 at 10:04 PM Pablo Neira Ayuso wrote:
> >
> > Hi Alexander,
> >
> > On Thu, Mar 04, 2021 at 03:57:28PM -0500, Alexander Aring w
Hi Pablo,
I appreciate your very detailed response. Thank you.
On Thu, Mar 4, 2021 at 10:04 PM Pablo Neira Ayuso wrote:
>
> Hi Alexander,
>
> On Thu, Mar 04, 2021 at 03:57:28PM -0500, Alexander Aring wrote:
> > This patch adds a note to the netlink manpage that if NETLINK_NO_ENOBUFS
> > is set t
Hi Alexander,
On Thu, Mar 04, 2021 at 03:57:28PM -0500, Alexander Aring wrote:
> This patch adds a note to the netlink manpage that if NETLINK_NO_ENOBUFS
> is set there is no additional handling to make netlink reliable. It just
> disables the error notification.
A bit more background on this tog
iable mode.
Signed-off-by: Alexander Aring
---
resend:
- forgot linux-man mailinglist in cc, sorry.
man7/netlink.7 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man7/netlink.7 b/man7/netlink.7
index c69bb62bf..2cb0d1a55 100644
--- a/man7/netlink.7
+++ b/man7/netlink.7
iable mode.
Signed-off-by: Alexander Aring
---
man7/netlink.7 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man7/netlink.7 b/man7/netlink.7
index c69bb62bf..2cb0d1a55 100644
--- a/man7/netlink.7
+++ b/man7/netlink.7
@@ -478,7 +478,7 @@ errors.
.\"Author: Pablo Nei
On 11/14/2016 11:36 PM, Rick Jones wrote:
>> Lets change the example so others don't propagate the problem further.
>>
>> Signed-off-by David Wilder
>>
>> --- man7/netlink.7.orig 2016-11-14 13:30:36.522101156 -0800
>> +++ man7/netlink.7 2016-11-14 13:
On 11/14/2016 11:20 PM, dwilder wrote:
> The example code in netlink(7) (for reading netlink message) suggests
> using
> a 4k read buffer with recvmsg. This can cause truncated messages on
> systems
> using a page size is >4096. Please see:
> linux/include/linux/netlink.h
Lets change the example so others don't propagate the problem further.
Signed-off-by David Wilder
--- man7/netlink.7.orig 2016-11-14 13:30:36.522101156 -0800
+++ man7/netlink.7 2016-11-14 13:30:51.002086354 -0800
@@ -511,7 +511,7 @@
.in +4n
.nf
int len;
-char buf[4096];
+char buf
The example code in netlink(7) (for reading netlink message) suggests
using
a 4k read buffer with recvmsg. This can cause truncated messages on
systems
using a page size is >4096. Please see:
linux/include/linux/netlink.h (in the kernel source)
/*
* skb should fit one page. T
Hi Andrey,
On 06/10/2016 10:28 PM, Andrey Vagin wrote:
> Cc: Kir Kolyshkin
> Cc: Michael Kerrisk
> Cc: Herbert Xu
> Cc: Patrick McHardy
> Cc: Christophe Ricard
> Cc: Nicolas Dichtel
> Signed-off-by: Andrey Vagin
> --
Cc: Kir Kolyshkin
Cc: Michael Kerrisk
Cc: Herbert Xu
Cc: Patrick McHardy
Cc: Christophe Ricard
Cc: Nicolas Dichtel
Signed-off-by: Andrey Vagin
---
man7/netlink.7 | 75 ++
1 file changed, 75 insertions(+)
diff --git a/man7/netlink.7 b
After seeing yet another project which had pointers in the code comments
to the false statements in the netlink.7 man page, I decided to spend
some time on improving man page.
Comments and improvements are welcome especially regarding TODO's, XXX's
and FIME's in the page.
-
[NETLINK]: Return -EPROTONOSUPPORT in netlink_create() if no kernel socket is registered
This is necessary for dynamic number of netlink groups to make sure we know
the number of possible groups before bind() is called. With this change pure
userspace communication using unused netlink protocols
[NETLINK]: Add set/getsockopt options to support more than 32 groups
NETLINK_ADD_MEMBERSHIP/NETLINK_DROP_MEMBERSHIP are used to join/leave
groups, NETLINK_PKTINFO is used to enable nl_pktinfo control messages
for received packets to get the extended destination group number.
Signed-off-by: Patri
16 matches
Mail list logo