summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS4
-rw-r--r--src/rtnl_link.c2
-rw-r--r--src/xlat/rtnl_link_attrs.in2
3 files changed, 7 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index fde1fe525..0e9eb2aa1 100644
--- a/NEWS
+++ b/NEWS
@@ -6,7 +6,9 @@ Noteworthy changes in release ?.? (????-??-??)
that operate on the specified set of file descriptors.
* Implemented -l/--syscall-limit option to automatically detach tracees
after capturing the specified number of syscalls.
- * Updated lists of F_SEAL_* constants.
+ * Implemented decoding of IFLA_GSO_IPV4_MAX_SIZE and IFLA_GRO_IPV4_MAX_SIZE
+ netlink attributes.
+ * Updated lists of F_SEAL_* and IFLA_* constants.
* Updated lists of ioctl commands from Linux 6.3.
Noteworthy changes in release 6.2 (2023-02-26)
diff --git a/src/rtnl_link.c b/src/rtnl_link.c
index 3a2c320e0..666226afd 100644
--- a/src/rtnl_link.c
+++ b/src/rtnl_link.c
@@ -1690,6 +1690,8 @@ static const nla_decoder_t ifinfomsg_nla_decoders[] = {
[IFLA_TSO_MAX_SEGS] = decode_nla_u32,
[IFLA_ALLMULTI] = decode_nla_u32,
[IFLA_DEVLINK_PORT] = decode_nla_u32,
+ [IFLA_GSO_IPV4_MAX_SIZE] = decode_nla_u32,
+ [IFLA_GRO_IPV4_MAX_SIZE] = decode_nla_u32,
};
DECL_NETLINK_ROUTE_DECODER(decode_ifinfomsg)
diff --git a/src/xlat/rtnl_link_attrs.in b/src/xlat/rtnl_link_attrs.in
index 3d2112c7e..29f740f62 100644
--- a/src/xlat/rtnl_link_attrs.in
+++ b/src/xlat/rtnl_link_attrs.in
@@ -63,3 +63,5 @@ IFLA_TSO_MAX_SIZE
IFLA_TSO_MAX_SEGS
IFLA_ALLMULTI
IFLA_DEVLINK_PORT
+IFLA_GSO_IPV4_MAX_SIZE
+IFLA_GRO_IPV4_MAX_SIZE