1. 10 Jun, 2019 38 commits
  2. 09 Jun, 2019 2 commits
    • Dan Carpenter's avatar
      nexthop: off by one in nexthop_mpath_select() · 5270041d
      Dan Carpenter authored
      The nhg->nh_entries[] array is allocated in nexthop_grp_alloc() and it
      has nhg->num_nh elements so this check should be >= instead of >.
      
      Fixes: 430a0491 ("nexthop: Add support for nexthop groups")
      Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Reviewed-by: default avatarDavid Ahern <dsahern@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      5270041d
    • David S. Miller's avatar
      Merge branch 'bonding-clean-up-and-standarize-logging-printks' · 90b8b7e7
      David S. Miller authored
      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: default avatarDavid S. Miller <davem@davemloft.net>
      90b8b7e7