1. 07 Jan, 2013 1 commit
    • Eric Dumazet's avatar
      tcp: fix MSG_SENDPAGE_NOTLAST logic · ae62ca7b
      Eric Dumazet authored
      commit 35f9c09f (tcp: tcp_sendpages() should call tcp_push() once)
      added an internal flag : MSG_SENDPAGE_NOTLAST meant to be set on all
      frags but the last one for a splice() call.
      
      The condition used to set the flag in pipe_to_sendpage() relied on
      splice() user passing the exact number of bytes present in the pipe,
      or a smaller one.
      
      But some programs pass an arbitrary high value, and the test fails.
      
      The effect of this bug is a lack of tcp_push() at the end of a
      splice(pipe -> socket) call, and possibly very slow or erratic TCP
      sessions.
      
      We should both test sd->total_len and fact that another fragment
      is in the pipe (pipe->nrbufs > 1)
      
      Many thanks to Willy for providing very clear bug report, bisection
      and test programs.
      Reported-by: default avatarWilly Tarreau <w@1wt.eu>
      Bisected-by: default avatarWilly Tarreau <w@1wt.eu>
      Tested-by: default avatarWilly Tarreau <w@1wt.eu>
      Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      ae62ca7b
  2. 04 Jan, 2013 6 commits
  3. 03 Jan, 2013 3 commits
  4. 02 Jan, 2013 18 commits
  5. 28 Dec, 2012 3 commits
    • Larry Finger's avatar
      forcedeth: Fix WARNINGS that result when DMA mapping is not checked · 612a7c4e
      Larry Finger authored
      With 3.8-rc1, the first call of pci_map_single() that is not checked
      with a corresponding pci_dma_mapping_error() call results in a warning
      with a splat as follows:
      
      WARNING: at lib/dma-debug.c:933 check_unmap+0x480/0x950()
      Hardware name: HP Pavilion dv2700 Notebook PC
      forcedeth 0000:00:0a.0: DMA-API: device driver failed to check
       map error[device address=0x00000000b176e002] [size=90 bytes] [mapped as single]
      Reviewed-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
      Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      612a7c4e
    • Bjørn Mork's avatar
      net: qmi_wwan: add Telekom Speedstick LTE II · 68172668
      Bjørn Mork authored
      also known as Alcatel One Touch L100V LTE
      
      The driver description files gives these names to the vendor specific
      functions on this modem:
      
       Application1: VID_1BBB&PID_011E&MI_00
       Application2: VID_1BBB&PID_011E&MI_01
       Modem:        VID_1BBB&PID_011E&MI_03
       Ethernet:     VID_1BBB&PID_011E&MI_04
      Reported-by: default avatarThomas Schäfer <tschaefer@t-online.de>
      Signed-off-by: default avatarBjørn Mork <bjorn@mork.no>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      68172668
    • David S. Miller's avatar
      Merge branch 'master' of git://1984.lsi.us.es/nf · ac196f8c
      David S. Miller authored
      Pablo Neira Ayuso says:
      
      ====================
      The following batch contains Netfilter fixes for 3.8-rc1. They are
      a mixture of old bugs that have passed unnoticed (I'll pass these to
      stable) and more fresh ones from the previous merge window, they are:
      
      * Fix for MAC address in 6in4 tunnels via NFLOG that results in ulogd
        showing up wrong address, from Bob Hockney.
      
      * Fix a comment in nf_conntrack_ipv6, from Florent Fourcot.
      
      * Fix a leak an error path in ctnetlink while creating an expectation,
        from Jesper Juhl.
      
      * Fix missing ICMP time exceeded in the IPv6 defragmentation code, from
        Haibo Xi.
      
      * Fix inconsistent handling of routing changes in MASQUERADE for the
        new connections case, from Andrew Collins.
      
      * Fix a missing skb_reset_transport in ip[6]t_REJECT that leads to
        crashes in the ixgbe driver (since it seems to access the transport
        header with TSO enabled), from Mukund Jampala.
      
      * Recover obsoleted NOTRACK target by including it into the CT and spot
        a warning via printk about being obsoleted. Many people don't check the
        scheduled to be removal file under Documentation, so we follow some
        less agressive approach to kill this in a year or so. Spotted by Florian
        Westphal, patch from myself.
      
      * Fix race condition in xt_hashlimit that allows to create two or more
        entries, from myself.
      
      * Fix crash if the CT is used due to the recently added facilities to
        consult the dying and unconfirmed conntrack lists, from myself.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      ac196f8c
  6. 27 Dec, 2012 3 commits
    • Linus Torvalds's avatar
      Merge tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging · 101e5c74
      Linus Torvalds authored
      Pull hwmon fixes from Guenter Roeck:
      
       - Report i2c errors to userspace in lm73 driver
      
       - Fix problem with DIV_ROUND_CLOSEST and unsigned divisors in emc6w201
         driver
      
      * tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
        hwmon: (emc6w201) Fix DIV_ROUND_CLOSEST problem with unsigned divisors
        hwmon: (lm73} Detect and report i2c bus errors
      101e5c74
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace · ddf75ae3
      Linus Torvalds authored
      Pull namespace fixes from Eric Biederman:
       "This tree includes two bug fixes for problems Oleg spotted on his
        review of the recent pid namespace work.  A small fix to not enable
        bottom halves with irqs disabled, and a trivial build fix for f2fs
        with user namespaces enabled."
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace:
        f2fs: Don't assign e_id in f2fs_acl_from_disk
        proc: Allow proc_free_inum to be called from any context
        pidns: Stop pid allocation when init dies
        pidns: Outlaw thread creation after unshare(CLONE_NEWPID)
      ddf75ae3
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · 7fd83b47
      Linus Torvalds authored
      Pull networking fixes from David Miller:
      
      1) GRE tunnel drivers don't set the transport header properly, they also
         blindly deref the inner protocol ipv4 and needs some checks.  Fixes
         from Isaku Yamahata.
      
      2) Fix sleeps while atomic in netdevice rename code, from Eric Dumazet.
      
      3) Fix double-spinlock in solos-pci driver, from Dan Carpenter.
      
      4) More ARP bug fixes.  Fix lockdep splat in arp_solicit() and then the
         bug accidentally added by that fix.  From Eric Dumazet and Cong Wang.
      
      5) Remove some __dev* annotations that slipped back in, as well as all
         HOTPLUG references.  From Greg KH
      
      6) RDS protocol uses wrong interfaces to access scatter-gather elements,
         causing a regression.  From Mike Marciniszyn.
      
      7) Fix build error in cpts driver, from Richard Cochran.
      
      8) Fix arithmetic in packet scheduler, from Stefan Hasko.
      
      9) Similarly, fix association during calculation of random backoff in
         batman-adv.  From Akinobu Mita.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (21 commits)
        ipv6/ip6_gre: set transport header correctly
        ipv4/ip_gre: set transport header correctly to gre header
        IB/rds: suppress incompatible protocol when version is known
        IB/rds: Correct ib_api use with gs_dma_address/sg_dma_len
        net/vxlan: Use the underlying device index when joining/leaving multicast groups
        tcp: should drop incoming frames without ACK flag set
        netprio_cgroup: define sk_cgrp_prioidx only if NETPRIO_CGROUP is enabled
        cpts: fix a run time warn_on.
        cpts: fix build error by removing useless code.
        batman-adv: fix random jitter calculation
        arp: fix a regression in arp_solicit()
        net: sched: integer overflow fix
        CONFIG_HOTPLUG removal from networking core
        Drivers: network: more __dev* removal
        bridge: call br_netpoll_disable in br_add_if
        ipv4: arp: fix a lockdep splat in arp_solicit()
        tuntap: dont use a private kmem_cache
        net: devnet_rename_seq should be a seqcount
        ip_gre: fix possible use after free
        ip_gre: make ipgre_tunnel_xmit() not parse network header as IP unconditionally
        ...
      7fd83b47
  7. 26 Dec, 2012 6 commits