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


18 Feb, 2008

1 commit


03 Feb, 2008

1 commit


01 Feb, 2008

1 commit

  • o Outbound sequence number overflow error status
    is counted as XfrmOutStateSeqError.
    o Additionaly, it changes inbound sequence number replay
    error name from XfrmInSeqOutOfWindow to XfrmInStateSeqError
    to apply name scheme above.
    o Inbound IPv4 UDP encapsuling type mismatch error is wrongly
    mapped to XfrmInStateInvalid then this patch fiex the error
    to XfrmInStateMismatch.

    Signed-off-by: Masahide NAKAMURA
    Signed-off-by: David S. Miller

    Masahide NAKAMURA
     

29 Jan, 2008

12 commits

  • Update the bonding documentation: more discussion on
    initialization and configuration, changes to discussion of packet
    reordering in balance-rr, update some out of date information.

    Based in part on input from Rick Jones
    and Andy Gospodarek .

    Signed-off-by: Jay Vosburgh
    Acked-by: Andy Gospodarek
    Signed-off-by: David S. Miller

    Jay Vosburgh
     
  • This patch contains the scheduled removal of the shaper driver.

    Signed-off-by: Adrian Bunk
    Acked-by: Alan Cox
    Signed-off-by: David S. Miller

    Adrian Bunk
     
  • Signed-off-by: Takahiro Yasui
    Signed-off-by: Hideo Aoki
    Signed-off-by: David S. Miller

    Hideo Aoki
     
  • Signed-off-by: Masahide NAKAMURA
    Signed-off-by: David S. Miller

    Masahide NAKAMURA
     
  • This statistics is shown factor dropped by transformation
    at /proc/net/xfrm_stat for developer.
    It is a counter designed from current transformation source code
    and defined as linux private MIB.

    See Documentation/networking/xfrm_proc.txt for the detail.

    Signed-off-by: Masahide NAKAMURA
    Signed-off-by: David S. Miller

    Masahide NAKAMURA
     
  • This adds a socket option and signalling support for the case where the server
    holds timewait state on closing the connection, as described in RFC 4340, 8.3.

    Since holding timewait state at the server is the non-usual case, it is enabled
    via a socket option. Documentation for this socket option has been added.

    The setsockopt statement has been made resilient against different possible cases
    of expressing boolean `true' values using a suggestion by Ian McDonald.

    Signed-off-by: Gerrit Renker
    Signed-off-by: Ian McDonald
    Signed-off-by: Arnaldo Carvalho de Melo
    Signed-off-by: David S. Miller

    Gerrit Renker
     
  • Thanks dave, herbert, gerrit, andi and other people for your
    discussion about this problem.

    UdpInDatagrams can be confusing because it counts packets that
    might be dropped later.
    Move UdpInDatagrams into recvmsg() as allowed by the RFC.

    Signed-off-by: Wang Chen
    Signed-off-by: Herbert Xu
    Signed-off-by: David S. Miller

    Wang Chen
     
  • Signed-off-by: Gerrit Renker
    Acked-by: Ian McDonald
    Signed-off-by: Arnaldo Carvalho de Melo
    Signed-off-by: David S. Miller

    Gerrit Renker
     
  • This patch addresses the following problems:

    1. DCCP relies for its proper functioning on having at least one CCID module
    enabled (as in TCP plugable congestion control). Currently it is possible to
    disable both CCIDs and thus leave the DCCP module in a compiled, but entirely
    non-functional state: no sockets can be created when no CCID is available.
    Furthermore, the protocol is (again like TCP) not intended to be used without
    CCIDs. Last, a non-empty CCID list is needed for doing CCID feature negotiation.

    2. Internally the default CCID that is advertised by the Linux host is set to CCID2
    (DCCPF_INITIAL_CCID in include/linux/dccp.h). Disabling CCID2 in the Kconfig
    menu without changing the defaults leads to a failure `module not found' when
    trying to load the dccp module (which internally tries to load the default CCID).

    3. The specification (RFC 4340, sec. 10) treats CCID2 somewhat like a
    `minimum common denominator'; the specification says that:

    * "New connections start with CCID 2 for both endpoints"

    * "A DCCP implementation intended for general use, such as an implementation in a
    general-purpose operating system kernel, SHOULD implement at least CCID 2.
    The intent is to make CCID 2 broadly available for interoperability [...]"

    Providing CCID2 as minimum-required CCID (like Reno/Cubic in TCP) thus seems reasonable.

    Hence this patch automatically selects CCID2 when DCCP is enabled. Documentation also added.

    Discussions with Ian McDonald on this subject are gratefully acknowledged.

    Signed-off-by: Gerrit Renker
    Signed-off-by: Ian McDonald
    Signed-off-by: Arnaldo Carvalho de Melo
    Signed-off-by: David S. Miller

    Gerrit Renker
     
  • This updates the DCCP documentation, following input from Ian McDonald,
    clarifiying the status of DCCP, and adding a note about the test tree.

    Signed-off-by: Gerrit Renker
    Signed-off-by: Ian McDonald
    Signed-off-by: Arnaldo Carvalho de Melo
    Signed-off-by: David S. Miller

    Gerrit Renker
     
  • This extends the DCCP socket API by honouring any shutdown(2) option set by the user.
    The behaviour is, as much as possible, made consistent with the API for TCP's shutdown.

    This patch exploits the information provided by the user via the socket API to reduce
    processing costs:
    * if the read end is closed (SHUT_RD), it is not necessary to deliver to input CCID;
    * if the write end is closed (SHUT_WR), the same idea applies, but with a difference -
    as long as the TX queue has not been drained, we need to receive feedback to keep
    congestion-control rates up to date. Hence SHUT_WR is honoured only after the last
    packet (under congestion control) has been sent;
    * although SHUT_RDWR seems nonsensical, it is nevertheless supported in the same manner
    as for TCP (and agrees with test for SHUTDOWN_MASK in dccp_poll() in net/dccp/proto.c).

    Furthermore, most of the code already honours the sk_shutdown flags (dccp_recvmsg() for
    instance sets the read length to 0 if SHUT_RD had been called); CCID handling is now added
    to this by the present patch.

    There will also no longer be any delivery when the socket is in the final stages, i.e. when
    one of dccp_close(), dccp_fin(), or dccp_done() has been called - which is fine since at
    that stage the connection is its final stages.

    Motivation and background are on http://www.erg.abdn.ac.uk/users/gerrit/dccp/notes/shutdown

    A FIXME has been added to notify the other end if SHUT_RD has been set (RFC 4340, 11.7).

    Note: There is a comment in inet_shutdown() in net/ipv4/af_inet.c which asks to "make
    sure the socket is a TCP socket". This should probably be extended to mean
    `TCP or DCCP socket' (the code is also used by UDP and raw sockets).

    Signed-off-by: Gerrit Renker
    Signed-off-by: Ian McDonald
    Signed-off-by: Arnaldo Carvalho de Melo
    Signed-off-by: David S. Miller

    Gerrit Renker
     
  • This patch adds documentation for the PF_CAN protocol family.

    Signed-off-by: Oliver Hartkopp
    Signed-off-by: Urs Thuermann
    Signed-off-by: David S. Miller

    Oliver Hartkopp
     

23 Jan, 2008

1 commit

  • Fix typo in arch/powerpc/boot/flatdevtree_env.h.
    There is no Documentation/networking/ixgbe.txt.

    README.cycladesZ is now in Documentation/.
    wavelan.p.h is now in drivers/net/wireless/.
    HFS.txt is now Documentation/filesystems/hfs.txt.
    OSS-files are now in sound/oss/.

    Signed-off-by: Johann Felix Soden
    Acked-by: Randy Dunlap
    Signed-off-by: Linus Torvalds

    Johann Felix Soden
     

19 Jan, 2008

1 commit


08 Dec, 2007

1 commit

  • Add new hash for balance-xor and 802.3ad modes. Originally
    submitted by "Glenn Griffin" ; modified by
    Jay Vosburgh to move setting of hash policy out of line, tweak the
    documentation update and add version update to 3.2.2.

    Glenn's original comment follows:

    Included is a patch for a new xmit_hash_policy for the bonding driver
    that selects slaves based on MAC and IP information. This is a middle
    ground between what currently exists in the layer2 only policy and the
    layer3+4 policy. This policy strives to be fully 802.3ad compliant by
    transmitting every packet of any particular flow over the same link.
    As documented the layer3+4 policy is not fully compliant for extreme
    cases such as ip fragmentation, so this policy is a nice compromise
    for environments that require full compliance but desire more than the
    layer2 only policy.

    Signed-off-by: "Glenn Griffin"
    Signed-off-by: Jay Vosburgh
    Signed-off-by: Jeff Garzik

    Jay Vosburgh
     

13 Nov, 2007

1 commit


07 Nov, 2007

5 commits


26 Oct, 2007

2 commits


25 Oct, 2007

1 commit


20 Oct, 2007

2 commits

  • Most of these fixes were already submitted for old kernel versions, and were
    approved, but for some reason they never made it into the releases.

    Because this is a consolidation of a couple old missed patches, it touches both
    Kconfigs and documentation texts.

    Signed-off-by: Matt LaPlante
    Acked-by: Randy Dunlap
    Signed-off-by: Adrian Bunk

    Matt LaPlante
     
  • Spelling fixes in Documentation/.

    Signed-off-by: Simon Arlott
    Signed-off-by: Adrian Bunk

    Simon Arlott
     

17 Oct, 2007

1 commit

  • Make request_key() and co fundamentally asynchronous to make it easier for
    NFS to make use of them. There are now accessor functions that do
    asynchronous constructions, a wait function to wait for construction to
    complete, and a completion function for the key type to indicate completion
    of construction.

    Note that the construction queue is now gone. Instead, keys under
    construction are linked in to the appropriate keyring in advance, and that
    anyone encountering one must wait for it to be complete before they can use
    it. This is done automatically for userspace.

    The following auxiliary changes are also made:

    (1) Key type implementation stuff is split from linux/key.h into
    linux/key-type.h.

    (2) AF_RXRPC provides a way to allocate null rxrpc-type keys so that AFS does
    not need to call key_instantiate_and_link() directly.

    (3) Adjust the debugging macros so that they're -Wformat checked even if
    they are disabled, and make it so they can be enabled simply by defining
    __KDEBUG to be consistent with other code of mine.

    (3) Documentation.

    [alan@lxorguk.ukuu.org.uk: keys: missing word in documentation]
    Signed-off-by: David Howells
    Signed-off-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Howells
     

16 Oct, 2007

3 commits

  • * 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: (42 commits)
    [IPV6]: Consolidate the ip6_pol_route_(input|output) pair
    [TCP]: Make snd_cwnd_cnt 32-bit
    [TCP]: Update the /proc/net/tcp documentation
    [NETNS]: Don't panic on creating the namespace's loopback
    [NEIGH]: Ensure that pneigh_lookup is protected with RTNL
    [INET]: kmalloc+memset -> kzalloc in frag_alloc_queue
    [ISDN]: Fix compile with CONFIG_ISDN_X25 disabled.
    [IPV6]: Replace sk_buff ** with sk_buff * in input handlers
    [SELINUX]: Update for netfilter ->hook() arg changes.
    [INET]: Consolidate the xxx_put
    [INET]: Small cleanup for xxx_put after evictor consolidation
    [INET]: Consolidate the xxx_evictor
    [INET]: Consolidate the xxx_frag_destroy
    [INET]: Consolidate xxx_the secret_rebuild
    [INET]: Consolidate the xxx_frag_kill
    [INET]: Collect common frag sysctl variables together
    [INET]: Collect frag queues management objects together
    [INET]: Move common fields from frag_queues in one place.
    [TG3]: Fix performance regression on 5705.
    [ISDN]: Remove local copy of device name to make sure renames work.
    ...

    Linus Torvalds
     
  • * Say that this interface is deprecated.
    * Update function name references to match the current code.

    Signed-off-by: Jean Delvare
    Signed-off-by: David S. Miller

    Jean Delvare
     
  • Update the "don't change MAC of slaves" functionality added in
    previous changes to be a generic option, rather than something tied to
    IB devices, as it's occasionally useful for regular ethernet devices as
    well.

    Adds "fail_over_mac" option (which is automatically enabled for IB
    slaves), applicable only to active-backup mode.

    Includes documentation update.

    Updates bonding driver version to 3.2.0.

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

    Jay Vosburgh