Joanne Hugé (bbf6aef2) at 27 Jun 11:59
Compile extended ack reporting only for kernel >= 4.12
Joanne Hugé (04e8cc38) at 27 Jun 11:59
Compile extended ack reporting only for kernel >= 4.12
Joanne Hugé (04e8cc38) at 27 Jun 07:34
Compile extended ack reporting only for kernel >= 4.12
Ok, this conditionally revert d5369ea2: can you mention this in the commit message ?
I think you can simplify a little in 2 ways:
#define EXTENDED_ACK_REPORTING (LINUX_VERSION_CODE >= KERNEL_VERSION(4,12,0))
...
#if EXTENDED_ACK_REPORTING
...
and have an empty netlink_get_extack
when < 4.2:
static int netlink_get_extack(struct nlmsghdr *nh, int len, int done)
{
#if EXTENDED_ACK_REPORTING
...
#endif
return 0;
}
You mean define the macros that don't exist ? There is NETLINK_EXT_ACK, NLMSGERR_ATTR_MSG and NLM_F_ACK_TLVS, so we could define these three and then detect kernel verison at run-time
Compilation fails on OBS for debian 9 because NETLINK_EXT_ACK
for example is not defined so this is why I am detecting at compile-time.
No, detect at run-time rather than at compile-time. There's already a kernel_older_than
function that you can use to set a global flag.
Joanne Hugé (1308e5f8) at 23 Jun 14:43
Compile extended ack reporting only for kernel >= 4.12
Joanne Hugé (289f3163) at 23 Jun 14:42
Compile extended ack reporting only for kernel >= 4.12
Joanne Hugé (75f815de) at 23 Jun 08:12
Make src-prefix action work in install filter
Joanne Hugé (c6c00908) at 23 Jun 08:12
Make src-prefix action work in install filter
... and 107 more commits
Joanne Hugé (3224835c) at 19 Jun 14:20
Update CHANGES for babeld-1.12.1
Joanne Hugé (916d3d9a) at 19 Jun 14:17
Joanne Hugé (916d3d9a) at 19 Jun 13:31
Update CHANGES for babeld-1.12.1
Julien Muchembled (c6c00908) at 09 Mar 15:51
Make src-prefix action work in install filter
... and 107 more commits
It looks like we are going to use this patch. Shouldn't we have a similar change in uninstall_route
and switch_routes
? Or maybe only patch change_route
?
Joanne Hugé (5e4d04ce) at 11 Oct 15:34
Remove src-prefix when ipv6_subtrees is disabled
Joanne Hugé (cc0f7ebe) at 04 Oct 12:19
ctl: add command to change the cost multiplier of a neighbour
... and 1 more commit
Joanne Hugé (7a972b09) at 30 Sep 13:36
ctl: add command to change the cost multiplier of a neighbour
... and 105 more commits
Julien Muchembled (73d2c811) at 27 Sep 19:24
Make deny & src-prefix actions work in install filter