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
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
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.
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
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.
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
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
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
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
@@
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
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 @
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
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.
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 @
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
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
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
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
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
down cpus with NMI
--
Best regards
Asbjørn Sloth Tønnesen
Network Engineer
Fiberby ApS - AS42541
20 matches
Mail list logo