summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/freescale
diff options
context:
space:
mode:
authorPaolo Abeni2018-11-09 15:52:45 +0100
committerDavid S. Miller2018-11-10 05:07:05 +0100
commit029a374348807222a872ba4baaf6e3e96846aa16 (patch)
treea07a11a1acb1265789fc471fcbdce2e6d2d8f1b0 /drivers/net/ethernet/freescale
parentnfp: use the new __netdev_tx_sent_queue() BQL optimisation (diff)
downloadkernel-qcow2-linux-029a374348807222a872ba4baaf6e3e96846aa16.tar.gz
kernel-qcow2-linux-029a374348807222a872ba4baaf6e3e96846aa16.tar.xz
kernel-qcow2-linux-029a374348807222a872ba4baaf6e3e96846aa16.zip
udp6: cleanup stats accounting in recvmsg()
In the udp6 code path, we needed multiple tests to select the correct mib to be updated. Since we touch at least a counter at each iteration, it's convenient to use the recently introduced __UDPX_MIB() helper once and remove some code duplication. Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale')
0 files changed, 0 insertions, 0 deletions