|
|
@ -1370,7 +1370,7 @@ Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
|
|
|
|
&queue_tx_maxrate.attr,
|
|
|
|
&queue_tx_maxrate.attr,
|
|
|
|
--- a/net/core/rtnetlink.c
|
|
|
|
--- a/net/core/rtnetlink.c
|
|
|
|
+++ b/net/core/rtnetlink.c
|
|
|
|
+++ b/net/core/rtnetlink.c
|
|
|
|
@@ -3706,7 +3706,7 @@ static int rtnl_get_offload_stats(struct
|
|
|
|
@@ -3709,7 +3709,7 @@ static int rtnl_get_offload_stats(struct
|
|
|
|
if (!size)
|
|
|
|
if (!size)
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
|
|
|
|
|
|
|
@ -1379,7 +1379,7 @@ Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
|
|
|
|
|
|
|
|
attr = nla_reserve_64bit(skb, attr_id, size,
|
|
|
|
attr = nla_reserve_64bit(skb, attr_id, size,
|
|
|
|
@@ -3747,7 +3747,7 @@ static int rtnl_get_offload_stats_size(c
|
|
|
|
@@ -3750,7 +3750,7 @@ static int rtnl_get_offload_stats_size(c
|
|
|
|
|
|
|
|
|
|
|
|
for (attr_id = IFLA_OFFLOAD_XSTATS_FIRST;
|
|
|
|
for (attr_id = IFLA_OFFLOAD_XSTATS_FIRST;
|
|
|
|
attr_id <= IFLA_OFFLOAD_XSTATS_MAX; attr_id++) {
|
|
|
|
attr_id <= IFLA_OFFLOAD_XSTATS_MAX; attr_id++) {
|
|
|
|