13 Aug, 2008

2 commits

  • Documentation/networking/ifenslave.c:1084: warning: pointer targets in assignment differ in signedness

    >From include/linux/socket.h:
    * 1003.1g requires sa_family_t and that sa_data is char.

    and from SUSv3:
    (http://www.opengroup.org/onlinepubs/009695399/basedefs/sys/socket.h.html)

    The header shall define the sockaddr structure that includes at least the following members:

    sa_family_t sa_family Address family.
    char sa_data[] Socket address (variable-length data).

    Signed-off-by: Randy Dunlap
    Cc: Sam Ravnborg
    Cc: "David S. Miller"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • Currently source files in the Documentation/ sub-dir can easily bit-rot
    since they are not generally buildable, either because they are hidden in
    text files or because there are no Makefile rules for them. This needs to
    be fixed so that the source files remain usable and good examples of code
    instead of bad examples.

    Add the ability to build source files that are in the Documentation/ dir.
    Add to Kconfig as "BUILD_DOCSRC" config symbol.

    Use "CONFIG_BUILD_DOCSRC=1 make ..." to build objects from the
    Documentation/ sources. Or enable BUILD_DOCSRC in the *config system.
    However, this symbol depends on HEADERS_CHECK since the header files need
    to be installed (for userspace builds).

    Built (using cross-tools) for x86-64, i386, alpha, ia64, sparc32,
    sparc64, powerpc, sh, m68k, & mips.

    Signed-off-by: Randy Dunlap
    Reviewed-by: Sam Ravnborg
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     

27 Jul, 2008

1 commit


23 Jul, 2008

1 commit


22 Jul, 2008

1 commit

  • This patch clamps the cscov setsockopt values to a maximum of 0xFFFF.

    Setsockopt values greater than 0xffff can cause an unwanted
    wrap-around. Further, IPv6 jumbograms are not supported (RFC 3838,
    3.5), so that values greater than 0xffff are not even useful.

    Further changes: fixed a typo in the documentation.

    Signed-off-by: Gerrit Renker
    Signed-off-by: David S. Miller

    Gerrit Renker
     

18 Jul, 2008

1 commit


15 Jul, 2008

2 commits


11 Jul, 2008

3 commits


09 Jul, 2008

2 commits


08 Jul, 2008

1 commit


06 Jul, 2008

1 commit


03 Jul, 2008

2 commits


02 Jul, 2008

2 commits


29 Jun, 2008

1 commit


28 Jun, 2008

1 commit


27 Jun, 2008

1 commit

  • The documentation for intr_type module parameter of the s2io driver is
    not consistent with the code. The comments in drivers/net/s2io.c are
    OK, but Documentation/networking/s2io.txt is wrong.

    Pointed out by Andrew Hecox.

    Signed-off-by: Michal Schmidt
    Signed-off-by: Jeff Garzik

    Michal Schmidt
     

25 Jun, 2008

1 commit


18 Jun, 2008

2 commits

  • Permit bonding to function rationally if max_bonds is set to
    zero. This will load the module, but create no master devices (which can
    be created via sysfs).

    Requires some change to bond_create_sysfs; currently, the
    netdev sysfs directory is determined from the first bonding device created,
    but this is no longer possible. Instead, an interface from net/core is
    created to create and destroy files in net_class.

    Based on a patch submitted by Phil Oester .
    Modified by Jay Vosburgh to fix the sysfs issue mentioned above and to
    update the documentation.

    Signed-off-by: Phil Oester
    Signed-off-by: Jay Vosburgh
    Signed-off-by: Jeff Garzik

    Jay Vosburgh
     
  • Support for sending multiple gratuitous ARPs during failovers
    was added by commit:

    commit 7893b2491a2d5f716540ac5643d78d37a7f6628b
    Author: Moni Shoua
    Date: Sat May 17 21:10:12 2008 -0700

    bonding: Send more than one gratuitous ARP when slave takes over

    This change modifies that support to remove duplicated code,
    add support for ARP monitor (the original only supported miimon), clear
    the grat ARP counter in bond_close (lest a later "ifconfig up" immediately
    start spewing ARPs), and add documentation for the module parameter.

    Also updated driver version to 3.3.0.

    Signed-off-by: Jay Vosburgh
    Signed-off-by: Jeff Garzik

    Jay Vosburgh
     

15 Jun, 2008

3 commits


14 Jun, 2008

1 commit


10 Jun, 2008

1 commit


07 Jun, 2008

1 commit


04 Jun, 2008

1 commit


22 May, 2008

1 commit

  • Add a "follow" selection for fail_over_mac. This option
    causes the MAC address to move from slave to slave as the active
    slave changes. This is in addition to the existing fail_over_mac option
    that causes the bond's MAC address to change during failover.

    This new option is useful for devices that cannot tolerate
    multiple ports using the same MAC address simultaneously, either
    because it confuses them or incurs a performance penalty (as is the
    case with some LPAR-aware multiport devices). Because the MAC of the
    bond itself does not change, the "follow" option is slightly more
    reliable during failover and doesn't change the MAC of the bond during
    operation.

    This patch requires a previous ARP monitor change to properly
    handle RTNL during failovers.

    Signed-off-by: Jay Vosburgh
    Signed-off-by: Jeff Garzik

    Jay Vosburgh
     

25 Apr, 2008

1 commit

  • Sometimes the specific interaction between the platform and the PHY
    requires special handling. For instance, to change where the PHY's
    clock input is, or to add a delay to account for latency issues in the
    data path. We add a mechanism for registering a callback with the PHY
    Lib to be called on matching PHYs when they are brought up, or reset.

    Signed-off-by: Andy Fleming
    Signed-off-by: Jeff Garzik

    Andy Fleming
     

18 Apr, 2008

1 commit


15 Apr, 2008

2 commits


03 Apr, 2008

1 commit


01 Apr, 2008

1 commit


14 Mar, 2008

1 commit