Skip to content

Bonding: fix IPv6 module requirement regression

Brian Haley lkml netdev 1 version Applied

Status from this message: Applied, but you have to do something about your email client

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2IPv6: add "disable" module parameter support to ipv6.koDocumentation/networking/ipv6.txt net/ipv6/af_inet6.c+51 -62 replies
2/2SCTP: change sctp_ctl_sock_init() to try IPv4 if IPv6 failsnet/sctp/protocol.c+8 -31 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] Bonding: fix IPv6 module requirement regression

These patches fix the Bonding module's requirement to have the IPv6 module loaded and configured by creating a new "disable" module parameter value for ipv6.ko. This allows users who do not want any IPv6 addresses or sockets to be created to disable IPv6 support, while still loading the module and making it's symbols available. This can be specified in /etc/modprobe.conf (or similar) with "options ipv6 disable=1".

I've verified that Bonding, SCTP, Sunrpc and DCCP will still load, however dccp_ipv6 will not load when disable=1 - I believe this is ok as IPv6 won't work anyways.

 Documentation/networking/ipv6.txt |   35 +++++++++++++++++++++++++++++++++++
 net/ipv6/af_inet6.c               |   22 ++++++++++++++++------
 net/sctp/protocol.c               |   11 ++++++++---
 3 files changed, 59 insertions(+), 9 deletions(-)