04 Mar, 2010

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6: (220 commits)
    USB: backlight, appledisplay: fix incomplete registration failure handling
    USB: pl2303: remove unnecessary reset of usb_device in urbs
    USB: ftdi_sio: remove obsolete check in unthrottle
    USB: ftdi_sio: remove unused tx_bytes counter
    USB: qcaux: driver for auxiliary serial ports on Qualcomm devices
    USB: pl2303: initial TIOCGSERIAL support
    USB: option: add Longcheer/Longsung vendor ID
    USB: fix I2C API usage in ohci-pnx4008.
    USB: usbmon: mask seconds properly in text API
    USB: sisusbvga: no unnecessary GFP_ATOMIC
    USB: storage: onetouch: unnecessary GFP_ATOMIC
    USB: serial: ftdi: add CONTEC vendor and product id
    USB: remove references to port->port.count from the serial drivers
    USB: tty: Prune uses of tty_request_room in the USB layer
    USB: tty: Add a function to insert a string of characters with the same flag
    USB: don't read past config->interface[] if usb_control_msg() fails in usb_reset_configuration()
    USB: tty: kill request_room for USB ACM class
    USB: tty: sort out the request_room handling for whiteheat
    USB: storage: fix misplaced parenthesis
    USB: vstusb.c: removal of driver for Vernier Software & Technology, Inc., devices and spectrometers
    ...

    Linus Torvalds
     

03 Mar, 2010

3 commits

  • This has never worked properly because wsize passed to
    cxacru_cm() is incorrectly set to the number of values
    instead of the data bytes. The maximum number of values
    that can be set at once is 7 which means the device will
    not get enough data to work with and none of the
    configuration values will be used.

    At least one existing cxacru-cf.bin file contains invalid
    data which will prevent the modem from syncing properly.

    Fixing it is likely to break existing systems, and the
    new sysfs interface for setting configuration parameters
    can provide the same functionality. A script is provided
    to convert from the original format.

    Signed-off-by: Simon Arlott
    Signed-off-by: Greg Kroah-Hartman

    Simon Arlott
     
  • The modem can be configured using CM_REQUEST_CARD_DATA_SET,
    although CM_REQUEST_CARD_DATA_GET does not return any data.

    Tested by setting the modulation (0x0a) option.

    There is a list of parameters in the following archive,
    but the meaning of many of them is not well documented:
    http://sourceforge.net/project/shownotes.php?release_id=301825

    This source also indicates that the highest parameter set
    is 0x4a but this varies by model so an arbitrary limit of
    0x7f has been used (the index is a 32-bit integer).

    Signed-off-by: Simon Arlott
    Signed-off-by: Greg Kroah-Hartman

    Simon Arlott
     
  • When there is no connection, return an empty string
    instead of "0" for the connection modulation.

    Signed-off-by: Simon Arlott
    Signed-off-by: Greg Kroah-Hartman

    Simon Arlott
     

26 Feb, 2010

1 commit


23 Feb, 2010

1 commit

  • Andrew Morton wrote:
    >> >From ip-sysctl.txt file in kernel documentation I can see following description
    >> for max_addresses:
    >> max_addresses - INTEGER
    >> Number of maximum addresses per interface. 0 disables limitation.
    >> It is recommended not set too large value (or 0) because it would
    >> be too easy way to crash kernel to allow to create too much of
    >> autoconfigured addresses.
    ^^^^^^^^^^^^^^

    >> If this parameter applies only for auto-configured IP addressed, please state
    >> it more clearly in docs or rename the parameter to show that it refers to
    >> auto-configuration.

    It did mention autoconfigured in the text, but the below makes it more obvious.

    More clearly document IPv6 max_addresses parameter.

    Signed-off-by: Brian Haley
    Signed-off-by: David S. Miller

    Brian Haley
     

19 Feb, 2010

3 commits

  • This patch enables fast retransmissions after one dupACK for
    TCP if the stream is identified as thin. This will reduce
    latencies for thin streams that are not able to trigger fast
    retransmissions due to high packet interarrival time. This
    mechanism is only active if enabled by iocontrol or syscontrol
    and the stream is identified as thin.

    Signed-off-by: Andreas Petlund
    Signed-off-by: David S. Miller

    Andreas Petlund
     
  • This patch will make TCP use only linear timeouts if the
    stream is thin. This will help to avoid the very high latencies
    that thin stream suffer because of exponential backoff. This
    mechanism is only active if enabled by iocontrol or syscontrol
    and the stream is identified as thin. A maximum of 6 linear
    timeouts is tried before exponential backoff is resumed.

    Signed-off-by: Andreas Petlund
    Signed-off-by: David S. Miller

    Andreas Petlund
     
  • Inline function to dynamically detect thin streams based on
    the number of packets in flight. Used to dynamically trigger
    thin-stream mechanisms if enabled by ioctl or sysctl.

    Signed-off-by: Andreas Petlund
    Signed-off-by: David S. Miller

    Andreas Petlund
     

13 Feb, 2010

1 commit

  • This fixes a problem in the DCCP getsockopt() API: currently there is no way
    for a user to a priori know the number of built-in CCIDs, other than trying
    DCCP_SOCKOPT_AVAILABLE_CCIDS in a loop, incrementing the option length until
    EINVAL is no longer returned.

    This patch truncates the array to the user-provided length. No copy is made
    when the length is
    Signed-off-by: David S. Miller

    Gerrit Renker
     

06 Feb, 2010

1 commit

  • Early on this was an experimental facility that few
    people other than Alexey Kuznetsov played with.

    Now it's a pretty fundamental thing and as people add
    more features to AF_PACKET sockets this config options
    creates ifdef spaghetti.

    So kill it off.

    Signed-off-by: David S. Miller

    David S. Miller
     

23 Jan, 2010

1 commit


19 Jan, 2010

1 commit

  • If the per device ARP_ACCEPT option is enable, currently we only allow
    creating new ARP cache entries for response type gratuitous ARP.

    Allowing gratuitous ARP to create new ARP entries (not only to update
    existing ones) is useful when we want to avoid unnecessary delays for
    the first packet of a stream.

    This patch allows request type gratuitous ARP to create new ARP cache
    entries as well. This is useful when we want to populate the ARP cache
    entries for a large number of hosts on the same LAN.

    Signed-off-by: Octavian Purdila
    Signed-off-by: David S. Miller

    Octavian Purdila
     

12 Jan, 2010

1 commit

  • 3c509 was changed to support ethtool in 2002, making the 'xcvr' module
    parameter obsolete in most cases. More recently 3c509 was converted
    to the modern driver model and this parameter was removed. Fix the
    documentation to refer to ethtool rather than the module parameter.

    Signed-off-by: Ben Hutchings
    Signed-off-by: David S. Miller

    Ben Hutchings
     

11 Jan, 2010

1 commit


07 Jan, 2010

1 commit

  • This is to be used together with switch technologies, like RFC3069,
    that where the individual ports are not allowed to communicate with
    each other, but they are allowed to talk to the upstream router. As
    described in RFC 3069, it is possible to allow these hosts to
    communicate through the upstream router by proxy_arp'ing.

    This patch basically allow proxy arp replies back to the same
    interface (from which the ARP request/solicitation was received).

    Tunable per device via proc "proxy_arp_pvlan":
    /proc/sys/net/ipv4/conf/*/proxy_arp_pvlan

    This switch technology is known by different vendor names:
    - In RFC 3069 it is called VLAN Aggregation.
    - Cisco and Allied Telesyn call it Private VLAN.
    - Hewlett-Packard call it Source-Port filtering or port-isolation.
    - Ericsson call it MAC-Forced Forwarding (RFC Draft).

    Signed-off-by: Jesper Dangaard Brouer
    Signed-off-by: David S. Miller

    Jesper Dangaard Brouer
     

22 Dec, 2009

1 commit

  • This patch provides infrastructure for machine translation of the
    regulatory rules database used by CRDA into a C data structure.
    It includes code for searching that database as an alternative
    to dynamic regulatory rules updates via CRDA. Most people should
    use CRDA instead of this infrastructure, but it provides a better
    alternative than the WIRELESS_OLD_REGULATORY infrastructure (which
    can now be removed).

    Signed-off-by: John W. Linville

    John W. Linville
     

04 Dec, 2009

1 commit

  • commit 8ec1e0ebe26087bfc5c0394ada5feb5758014fc8
    Author: Patrick McHardy
    Date: Thu Dec 3 12:16:35 2009 +0100

    ipv4: add sysctl to accept packets with local source addresses

    Change fib_validate_source() to accept packets with a local source address when
    the "accept_local" sysctl is set for the incoming inet device. Combined with the
    previous patches, this allows to communicate between multiple local interfaces
    over the wire.

    Signed-off-by: Patrick McHardy

    Signed-off-by: David S. Miller

    Patrick McHardy
     

03 Dec, 2009

3 commits

  • Define sysctl (tcp_cookie_size) to turn on and off the cookie option
    default globally, instead of a compiled configuration option.

    Define per socket option (TCP_COOKIE_TRANSACTIONS) for setting constant
    data values, retrieving variable cookie values, and other facilities.

    Move inline tcp_clear_options() unchanged from net/tcp.h to linux/tcp.h,
    near its corresponding struct tcp_options_received (prior to changes).

    This is a straightforward re-implementation of an earlier (year-old)
    patch that no longer applies cleanly, with permission of the original
    author (Adam Langley):

    http://thread.gmane.org/gmane.linux.network/102586

    These functions will also be used in subsequent patches that implement
    additional features.

    Requires:
    net: TCP_MSS_DEFAULT, TCP_MSS_DESIRED

    Signed-off-by: William.Allen.Simpson@gmail.com
    Signed-off-by: David S. Miller

    William Allen Simpson
     
  • David S. Miller
     
  • The commit 27fed4175acf81ddd91d9a4ee2fd298981f60295 (ip: fix logic of
    reverse path filter sysctl) has changed the logic of rp_filter. The
    document about rp_filter is out of date. Now, setting
    conf/all/rp_filte with 0 can also enable source validation.

    Update the document according to the commit.

    Signed-off-by: Shan Wei
    Signed-off-by: David S. Miller

    Shan Wei
     

07 Oct, 2009

2 commits

  • On Friday 02 October 2009 20:53:51 you wrote:

    > This is good although I would have shortened the name.

    Ah, I knew I forgot something :) Here is v4.

    tavi

    >From 24d96d825b9fa832b22878cc6c990d5711968734 Mon Sep 17 00:00:00 2001
    From: Octavian Purdila
    Date: Fri, 2 Oct 2009 00:51:15 +0300
    Subject: [PATCH] ipv6: new sysctl for sending TLLAO with unicast NAs

    Neighbor advertisements responding to unicast neighbor solicitations
    did not include the target link-layer address option. This patch adds
    a new sysctl option (disabled by default) which controls whether this
    option should be sent even with unicast NAs.

    The need for this arose because certain routers expect the TLLAO in
    some situations even as a response to unicast NS packets.

    Moreover, RFC 2461 recommends sending this to avoid a race condition
    (section 4.4, Target link-layer address)

    Signed-off-by: Cosmin Ratiu
    Signed-off-by: Octavian Purdila
    Signed-off-by: David S. Miller

    Octavian Purdila
     
  • In some cases there is not desirable to switch back to primary interface when
    it's link recovers and rather stay with currently active one. We need to avoid
    packetloss as much as we can in some cases. This is solved by introducing
    primary_reselect option. Note that enslaved primary slave is set as current
    active no matter what.

    Patch modified by Jay Vosburgh as follows: fixed bug in action
    after change of option setting via sysfs, revised the documentation
    update, and bumped the bonding version number.

    Signed-off-by: Jiri Pirko
    Signed-off-by: Jay Vosburgh
    Signed-off-by: David S. Miller

    Jiri Pirko
     

05 Oct, 2009

1 commit

  • It is not currently possible to instruct pktgen to use one selected tx queue.

    When Robert added multiqueue support in commit 45b270f8, he added
    an interval (queue_map_min, queue_map_max), and his code doesnt take
    into account the case of min = max, to select one tx queue exactly.

    I suspect a high performance setup on a eight txqueue device wants
    to use exactly eight cpus, and assign one tx queue to each sender.

    This patchs makes pktgen select the right tx queue, not the first one.

    Also updates Documentation to reflect Robert changes.

    Signed-off-by: Eric Dumazet
    Signed-off-by: Robert Olsson
    Signed-off-by: David S. Miller

    Eric Dumazet
     

03 Oct, 2009

1 commit


21 Sep, 2009

1 commit


05 Sep, 2009

1 commit

  • This patch introduces a new sysctl option to make IPv4 Address Scoping
    configurable .

    In networking environments where DNAT rules in iptables prerouting
    chains convert destination IP's to link-local/private IP addresses,
    SCTP connections fail to establish as the INIT chunk is dropped by the
    kernel due to address scope match failure.
    For example to support overlapping IP addresses (same IP address with
    different vlan id) a Layer-5 application listens on link local IP's,
    and there is a DNAT rule that maps the destination IP to a link local
    IP. Such applications never get the SCTP INIT if the address-scoping
    draft is strictly followed.

    This sysctl configuration allows SCTP to function in such
    unconventional networking environments.

    Sysctl options:
    0 - Disable IPv4 address scoping draft altogether
    1 - Enable IPv4 address scoping (default, current behavior)
    2 - Enable address scoping but allow IPv4 private addresses in init/init-ack
    3 - Enable address scoping but allow IPv4 link local address in init/init-ack

    Signed-off-by: Bhaskar Dutta
    Signed-off-by: Vlad Yasevich

    Bhaskar Dutta
     

02 Sep, 2009

1 commit


20 Aug, 2009

1 commit


13 Aug, 2009

1 commit


28 Jul, 2009

1 commit


27 Jul, 2009

1 commit


18 Jul, 2009

1 commit


15 Jun, 2009

1 commit


13 Jun, 2009

1 commit


12 Jun, 2009

1 commit

  • Commit b00055aacdb172c05067612278ba27265fcd05ce " [NET] core: add
    RFC2863 operstate" defined new interface flag values. Its
    documentation specified that these flags could be accessed from user
    space via SIOCGIFFLAGS. However, this does not work because the new
    flags do not fit in that ioctl's argument width.

    Change the documentation to match the code's behavior. Also change
    the source to explicitly show the truncation. This _should_ have no
    effect on executable code, and did not with gcc 4.2.4 generating x86
    code.

    A new ioctl could be defined to return all interface flags to user
    space. However, since this has been broken for three years with no
    one complaining, there doesn't seem much need. They are still
    accessible via netlink.

    Reported-by: "Fredrik Arnerup"
    Signed-off-by: John Dykstra
    Signed-off-by: David S. Miller

    John Dykstra
     

09 Jun, 2009

1 commit


01 Jun, 2009

1 commit

  • Add 'autoconf' and 'disable_ipv6' parameters to the IPv6 module.

    The first controls if IPv6 addresses are autoconfigured from
    prefixes received in Router Advertisements. The IPv6 loopback
    (::1) and link-local addresses are still configured.

    The second controls if IPv6 addresses are desired at all. No
    IPv6 addresses will be added to any interfaces.

    Signed-off-by: Brian Haley
    Signed-off-by: David S. Miller

    Brian Haley
     

19 May, 2009

2 commits