Skip to content

bonding: void calling rtmsg_ifinfo for netlink notifications

Xin Long netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v13 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- post to net-next.git instead of net.git, for it's more like an improvement for bonding

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3bonding: remove rtmsg_ifinfo called in bond_master_upper_dev_linkdrivers/net/bonding/bond_main.c+3 -80 replies
2/3rtnetlink: bring NETDEV_CHANGELOWERSTATE event process back to rtnetlink_eventnet/core/rtnetlink.c+1 -00 replies
3/3bonding: remove rtmsg_ifinfo called after bond_lower_state_changedinclude/net/bonding.h net/core/rtnetlink.c+0 -51 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCHv2 net-next 0/3] bonding: void calling rtmsg_ifinfo for netlink notifications

It's better to send notifications to userspace by the events in rtnetlink_event, instead of calling rtmsg_ifinfo directly.

This patcheset is to remove rtmsg_ifinfo called in bonding, the notifications can be handled by NETDEV_CHANGEUPPER and NETDEV_CHANGELOWERSTATE events in rtnetlink_event.

It could also fix some redundant notifications from bonding.

v1->v2:
- post to net-next.git instead of net.git, for it's more like an improvement for bonding

Xin Long (3):
bonding: remove rtmsg_ifinfo called in bond_master_upper_dev_link
rtnetlink: bring NETDEV_CHANGELOWERSTATE event process back to
rtnetlink_event
bonding: remove rtmsg_ifinfo called after bond_lower_state_changed

 drivers/net/bonding/bond_main.c | 11 +++--------
 include/net/bonding.h           |  4 ----
 net/core/rtnetlink.c            |  2 +-
 3 files changed, 4 insertions(+), 13 deletions(-)
Signature · 1 line
2.1.0