OSDN Git Service

Merge branch 'bonding-clean-up-and-standarize-logging-printks'
authorDavid S. Miller <davem@davemloft.net>
Sun, 9 Jun 2019 20:36:01 +0000 (13:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 9 Jun 2019 20:36:01 +0000 (13:36 -0700)
Jarod Wilson says:

====================
bonding: clean up and standarize logging printks

This set improves a few somewhat terse bonding debug messages, fixes some
errors in others, and then standarizes the majority of them, using new
slave_* printk macros that wrap around netdev_* to ensure both master
and slave information is provided consistently, where relevant. This set
proves very useful in debugging issues on hosts with multiple bonds.

I've run an array of LNST tests over this set, creating and destroying
quite a few different bonds of the course of testing, fixed the little
gotchas here and there, and everything looks stable and reasonable to me,
but I can't guarantee I've tested every possible message and scenario to
catch every possible "slave could be NULL" case.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge