Skip to content

bonding: refuse to change bond type if it's used V3

Jiri Pirko netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

v2->v3 from the cover letter

-changed defines name to NETDEV_[PRE/POST]_TYPE_CHANGE -added bits for vlan and macvlan

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: rename notifier defines for netdev type changedrivers/net/bonding/bond_main.c include/linux/notifier.h net/ipv4/devinet.c +1 more+16 -140 replies
2/3bonding: check return value of nofitier when changing typedrivers/net/bonding/bond_main.c include/linux/netdevice.h net/core/dev.c+12 -53 replies
3/3net: forbid underlaying devices to change its typedrivers/net/macvlan.c net/8021q/vlan.c net/bridge/br_notify.c+11 -02 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [net-next-2.6 PATCH 0/3] bonding: refuse to change bond type if it's used V3

v2->v3:
-changed defines name to NETDEV_[PRE/POST]_TYPE_CHANGE -added bits for vlan and macvlan

Reworked version of patch/patchset. This time I use netdevice notifier as Stephen suggested. Changed the name of the original ones (NETDEV_BONDING_*TYPE) to be more general and reused them.

Jirka