Not sure this is a problem in practice, as the same set if fields is updated each time...at least for now.
On 22/11/2016 09:41, Qiming Yang wrote: > Function pcmd_drvinfo_callback uses struct info to get > the ethtool information of each port. Struct info will > store the information of previous port until this > information be updated. This patch fixes this issue. > > Fixes: bda68ab9d1e7 ("examples/ethtool: add user-space ethtool sample > application") > > Signed-off-by: Qiming Yang <qiming.yang at intel.com> Acked-by: Remy Horton <remy.horton at intel.com>