From: Jakub Kicinski Date: Wed, 14 Oct 2020 00:34:26 +0000 (-0700) Subject: Merge branch 'net-add-and-use-function-dev_fetch_sw_netstats-for-fetching-pcpu_sw_net... X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a003ec1f47bc7c34e1dc96653b903c48f63adcdb;p=linux.git Merge branch 'net-add-and-use-function-dev_fetch_sw_netstats-for-fetching-pcpu_sw_netstats' Heiner Kallweit says: ==================== net: add and use function dev_fetch_sw_netstats for fetching pcpu_sw_netstats In several places the same code is used to populate rtnl_link_stats64 fields with data from pcpu_sw_netstats. Therefore factor out this code to a new function dev_fetch_sw_netstats(). ==================== Signed-off-by: Jakub Kicinski --- a003ec1f47bc7c34e1dc96653b903c48f63adcdb