[PATCH iproute2 1/2] testsuite: refactor kernel config search

2017-02-15 Thread Asbjørn Sloth Tønnesen
Signed-off-by: Asbjørn Sloth Tønnesen <asbj...@asbjorn.st> --- testsuite/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/testsuite/Makefile b/testsuite/Makefile index 50a7bafa..fc693368 100644 --- a/testsuite/Makefile +++ b/testsuite/Makefile @@ -17,8

[PATCH iproute2 2/2] testsuite: search for kernel config in /boot

2017-02-15 Thread Asbjørn Sloth Tønnesen
Add support for finding the kernel config in Debian and derivatives. Signed-off-by: Asbjørn Sloth Tønnesen <asbj...@asbjorn.st> --- testsuite/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuite/Makefile b/testsuite/Makefile index fc693368..055136b5

[PATCH iproute2 v2 7/9] l2tp: support sequence numbering

2016-11-16 Thread Asbjørn Sloth Tønnesen
This patch implement and documents the user interface for sequence numbering. Signed-off-by: Asbjørn Sloth Tønnesen <asbj...@asbjorn.st> --- ip/ipl2tp.c| 23 +++ man/man8/ip-l2tp.8 | 15 +++ 2 files changed, 38 insertions(+) diff --git a/ip/ipl2tp.

[PATCH iproute2 v2 8/9] l2tp: show tunnel: expose UDP checksum state

2016-11-16 Thread Asbjørn Sloth Tønnesen
Signed-off-by: Asbjørn Sloth Tønnesen <asbj...@asbjorn.st> --- ip/ipl2tp.c | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/ip/ipl2tp.c b/ip/ipl2tp.c index ab35023..f2bbc0c 100644 --- a/ip/ipl2tp.c +++ b/ip/ipl2tp.c @@ -218,9 +218,24 @@ stati

[PATCH iproute2 v2 4/9] l2tp: fix L2TP_ATTR_{RECV,SEND}_SEQ handling

2016-11-16 Thread Asbjørn Sloth Tønnesen
L2TP_ATTR_RECV_SEQ and L2TP_ATTR_SEND_SEQ are declared as NLA_U8 attributes in the kernel, so let's threat them accordingly. Signed-off-by: Asbjørn Sloth Tønnesen <asbj...@asbjorn.st> --- ip/ipl2tp.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ip/ipl2tp.

[PATCH iproute2 v2 6/9] l2tp: read IPv6 UDP checksum attributes from kernel

2016-11-16 Thread Asbjørn Sloth Tønnesen
In case of an older kernel that doesn't set L2TP_ATTR_UDP_ZERO_CSUM6_{RX,TX} the old hard-coded value is being preserved, since the attribute flag will be missing. Signed-off-by: Asbjørn Sloth Tønnesen <asbj...@asbjorn.st> --- ip/ipl2tp.c | 9 +++-- 1 file changed, 3 insertions

[PATCH iproute2 v2 3/9] l2tp: fix integers with too few significant bits

2016-11-16 Thread Asbjørn Sloth Tønnesen
udp6_csum_{tx,rx}, tunnel and session are the only ones currently used. recv_seq, send_seq, lns_mode and data_seq are partially implemented in a useless way. Signed-off-by: Asbjørn Sloth Tønnesen <asbj...@asbjorn.st> --- ip/ipl2tp.c | 18 +- 1 file changed, 9 insertions

[PATCH iproute2 v2 5/9] l2tp: fix L2TP_ATTR_UDP_CSUM handling

2016-11-16 Thread Asbjørn Sloth Tønnesen
L2TP_ATTR_UDP_CSUM is read by the kernel as a NLA_FLAG value, but is validated as a NLA_U8, so we will write it as an u8, but the value isn't actually being read by the kernel. It is written by the kernel as a NLA_U8, so we will read as such. Signed-off-by: Asbjørn Sloth Tønnesen <a

[PATCH iproute2 v2 9/9] man: ip-l2tp.8: document UDP checksum options

2016-11-16 Thread Asbjørn Sloth Tønnesen
Signed-off-by: Asbjørn Sloth Tønnesen <asbj...@asbjorn.st> --- man/man8/ip-l2tp.8 | 33 + 1 file changed, 33 insertions(+) diff --git a/man/man8/ip-l2tp.8 b/man/man8/ip-l2tp.8 index d4e7270..8ce630a 100644 --- a/man/man8/ip-l2tp.8 +++ b/man/man8/ip-l2tp.8 @@

[PATCH iproute2 v2 2/9] man: ip-l2tp.8: remove non-existent tunnel parameter name

2016-11-16 Thread Asbjørn Sloth Tønnesen
The name parameter is only valid for sessions, not tunnels. Signed-off-by: Asbjørn Sloth Tønnesen <asbj...@asbjorn.st> --- man/man8/ip-l2tp.8 | 3 --- 1 file changed, 3 deletions(-) diff --git a/man/man8/ip-l2tp.8 b/man/man8/ip-l2tp.8 index 4a3bb20..991d097 100644 --- a/man/man8/ip-l2tp.8

[PATCH iproute2 v2 1/9] man: ip-l2tp.8: fix l2spec_type documentation

2016-11-16 Thread Asbjørn Sloth Tønnesen
Signed-off-by: Asbjørn Sloth Tønnesen <asbj...@asbjorn.st> --- man/man8/ip-l2tp.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/man8/ip-l2tp.8 b/man/man8/ip-l2tp.8 index 5b7041f..4a3bb20 100644 --- a/man/man8/ip-l2tp.8 +++ b/man/man8/ip-l2tp.8 @@ -239,7 +239,7 @

Re: [PATCH net-next 1/5] net: l2tp: fix L2TP_ATTR_UDP_CSUM attribute type

2016-11-07 Thread Asbjørn Sloth Tønnesen
so only tried changing the cases where the kernel side is inconsistently implemented, ie. kept L2TP_ATTR_{SEND,RECV}_SEQ as u8-flags since it was used consitently. > Please instead fix iproute2 to use u8 attributes for this. Will do (set with u8-flag, read as u8). -- Best regards Asbjørn Sloth Tønnesen

[PATCH iproute2 4/7] l2tp: fix L2TP_ATTR_{RECV,SEND}_SEQ handling

2016-11-04 Thread Asbjørn Sloth Tønnesen
L2TP_ATTR_RECV_SEQ and L2TP_ATTR_SEND_SEQ are declared as NLA_U8 attributes in the kernel, so let's threat them accordingly. Signed-off-by: Asbjørn Sloth Tønnesen <asbj...@asbjorn.st> --- ip/ipl2tp.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ip/ipl2tp.

[PATCH iproute2 1/7] man: ip-l2tp.8: fix l2spec_type documentation

2016-11-04 Thread Asbjørn Sloth Tønnesen
Signed-off-by: Asbjørn Sloth Tønnesen <asbj...@asbjorn.st> --- man/man8/ip-l2tp.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/man8/ip-l2tp.8 b/man/man8/ip-l2tp.8 index 5b7041f..4a3bb20 100644 --- a/man/man8/ip-l2tp.8 +++ b/man/man8/ip-l2tp.8 @@ -239,7 +239,7 @

[PATCH iproute2 5/7] l2tp: support sequence numbering

2016-11-04 Thread Asbjørn Sloth Tønnesen
Signed-off-by: Asbjørn Sloth Tønnesen <asbj...@asbjorn.st> --- ip/ipl2tp.c| 23 +++ man/man8/ip-l2tp.8 | 15 +++ 2 files changed, 38 insertions(+) diff --git a/ip/ipl2tp.c b/ip/ipl2tp.c index af89e2f..6d00d09 100644 --- a/ip/ipl2tp.c +++ b/ip/ip

[PATCH iproute2 6/7] l2tp: read IPv6 UDP checksum attributes from kernel

2016-11-04 Thread Asbjørn Sloth Tønnesen
In case of an older kernel that doesn't set L2TP_ATTR_UDP_ZERO_CSUM6_{R,T}X the old hard-coded value is being preserved, since the attribute flag will be missing. Signed-off-by: Asbjørn Sloth Tønnesen <asbj...@asbjorn.st> --- ip/ipl2tp.c | 9 +++-- 1 file changed, 3 insertions

[PATCH iproute2 3/7] l2tp: fix integers with too few significant bits

2016-11-04 Thread Asbjørn Sloth Tønnesen
udp6_csum{,_tx,_rx}, tunnel and session are the only ones currently used. recv_seq, send_seq, lns_mode and data_seq are partially implemented in a useless way. Signed-off-by: Asbjørn Sloth Tønnesen <asbj...@asbjorn.st> --- ip/ipl2tp.c | 18 +- 1 file changed, 9 insertions

[PATCH iproute2 2/7] man: ip-l2tp.8: remove non-existent tunnel parameter name

2016-11-04 Thread Asbjørn Sloth Tønnesen
The name parameter is only valid for sessions, not tunnels. Signed-off-by: Asbjørn Sloth Tønnesen <asbj...@asbjorn.st> --- man/man8/ip-l2tp.8 | 3 --- 1 file changed, 3 deletions(-) diff --git a/man/man8/ip-l2tp.8 b/man/man8/ip-l2tp.8 index 4a3bb20..991d097 100644 --- a/man/man8/ip-l2tp.8

[PATCH iproute2 7/7] l2tp: show tunnel: expose UDP checksum state

2016-11-04 Thread Asbjørn Sloth Tønnesen
Signed-off-by: Asbjørn Sloth Tønnesen <asbj...@asbjorn.st> --- ip/ipl2tp.c | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/ip/ipl2tp.c b/ip/ipl2tp.c index 8f3268d..27dc184 100644 --- a/ip/ipl2tp.c +++ b/ip/ipl2tp.c @@ -218,9 +218,24 @@ stati

BUG: ixgbe_select_queue: general protection fault in v4.4.3

2016-02-26 Thread Asbjørn Sloth Tønnesen
down cpus with NMI -- Best regards Asbjørn Sloth Tønnesen Network Engineer Fiberby ApS - AS42541