diff options
author | Thomas Devoogdt <thomas@devoogdt.com> | 2024-10-04 15:32:55 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2024-10-06 18:25:01 +0200 |
commit | 8953429a8253176adda4dcfbed4738e55ee3b8ea (patch) | |
tree | 6abebdd1fcb223ee55a6210f659532c37165ddd9 /README | |
parent | bf57f732a5b6842f6fa3e0f90385f039e5d6a92c (diff) | |
download | busybox-w32-8953429a8253176adda4dcfbed4738e55ee3b8ea.tar.gz busybox-w32-8953429a8253176adda4dcfbed4738e55ee3b8ea.tar.bz2 busybox-w32-8953429a8253176adda4dcfbed4738e55ee3b8ea.zip |
networking/libiproute/iplink.c: fix support for older kernels
- The CAN netlink interface has been added in Linux v2.6.31 with only 3 options [1]:
CAN_CTRLMODE_LOOPBACK 0x1 /* Loopback mode */
CAN_CTRLMODE_LISTENONLY 0x2 /* Listen-only mode */
CAN_CTRLMODE_3_SAMPLES 0x4 /* Triple sampling mode */
So define the other options.
- IFLA_CAN_TERMINATION has been added in Linux 4.11 [2],
define it for older kernels.
[1] https://github.com/torvalds/linux/blob/v2.6.31/include/linux/can/netlink.h#L80-L82
[2] https://github.com/torvalds/linux/commit/12a6075cabc0d9ffbc0366b44daa22f278606312
Signed-off-by: Thomas Devoogdt <thomas@devoogdt.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions