Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Feb 28, 2014

  1. Lars-Peter Clausen

    Fix merge fallout

    Fix issues introduced in the latest merge.
    
    Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
    authored September 05, 2013

Sep 03, 2013

  1. Lars-Peter Clausen

    Merge tag 'v3.11' into lm32

    Linux 3.11
    
    Conflicts:
    	arch/Kconfig
    	drivers/input/serio/Makefile
    	include/asm-generic/uaccess.h
    	include/uapi/linux/serial_core.h
    	kernel/fork.c
    authored September 03, 2013

Sep 02, 2013

  1. Linus Torvalds

    Linux 3.11

    authored September 02, 2013
  2. Linus Torvalds

    Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/g…

    …it/jejb/scsi
    
    Pull SCSI fix from James Bottomley:
     "This is a bug fix for the pm80xx driver.  It turns out that when the
      new hardware support was added in 3.10 the IO command size was kept at
      the old hard coded value.  This means that the driver attaches to some
      new cards and then simply hangs the system"
    
    * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
      [SCSI] pm80xx: fix Adaptec 71605H hang
    authored September 02, 2013
  3. Linus Torvalds

    Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/l…

    …inux/kernel/git/tip/tip
    
    Pull x86 boot fix from Peter Anvin:
     "A single very small boot fix for very large memory systems (> 0.5T)"
    
    * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/mm: Fix boot crash with DEBUG_PAGE_ALLOC=y and more than 512G RAM
    authored September 02, 2013
  4. Linus Torvalds

    Merge branch 'fixes' of git://git.infradead.org/users/vkoul/slave-dma

    Pull slave-dma fix from Vinod Koul:
     "A fix for resolving TI_EDMA driver's build error in allmodconfig to
      have filter function built in""
    
    * 'fixes' of git://git.infradead.org/users/vkoul/slave-dma:
      dma/Kconfig: TI_EDMA needs to be boolean
    authored September 02, 2013

Aug 31, 2013

  1. Linus Torvalds

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net

    Pull networking fixes from David Miller:
    
     1) There was a simplification in the ipv6 ndisc packet sending
        attempted here, which avoided using memory accounting on the
        per-netns ndisc socket for sending NDISC packets.  It did fix some
        important issues, but it causes regressions so it gets reverted here
        too.  Specifically, the problem with this change is that the IPV6
        output path really depends upon there being a valid skb->sk
        attached.
    
        The reason we want to do this change in some form when we figure out
        how to do it right, is that if a device goes down the ndisc_sk
        socket send queue will fill up and block NDISC packets that we want
        to send to other devices too.  That's really bad behavior.
    
        Hopefully Thomas can come up with a better version of this change.
    
     2) Fix a severe TCP performance regression by reverting a change made
        to dev_pick_tx() quite some time ago.  From Eric Dumazet.
    
     3) TIPC returns wrongly signed error codes, fix from Erik Hugne.
    
     4) Fix OOPS when doing IPSEC over ipv4 tunnels due to orphaning the
        skb->sk too early.  Fix from Li Hongjun.
    
     5) RAW ipv4 sockets can use the wrong routing key during lookup, from
        Chris Clark.
    
     6) Similar to #1 revert an older change that tried to use plain
        alloc_skb() for SYN/ACK TCP packets, this broke the netfilter owner
        mark which needs to see the skb->sk for such frames.  From Phil
        Oester.
    
     7) BNX2x driver bug fixes from Ariel Elior and Yuval Mintz,
        specifically in the handling of virtual functions.
    
     8) IPSEC path error propagations to sockets is not done properly when
        we have v4 in v6, and v6 in v4 type rules.  Fix from Hannes Frederic
        Sowa.
    
     9) Fix missing channel context release in mac80211, from Johannes Berg.
    
    10) Fix network namespace handing wrt.  SCM_RIGHTS, from Andy
        Lutomirski.
    
    11) Fix usage of bogus NAPI weight in jme, netxen, and ps3_gelic
        drivers.  From Michal Schmidt.
    
    12) Hopefully a complete and correct fix for the genetlink dump locking
        and module reference counting.  From Pravin B Shelar.
    
    13) sk_busy_loop() must do a cpu_relax(), from Eliezer Tamir.
    
    14) Fix handling of timestamp offset when restoring a snapshotted TCP
        socket.  From Andrew Vagin.
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (44 commits)
      net: fec: fix time stamping logic after napi conversion
      net: bridge: convert MLDv2 Query MRC into msecs_to_jiffies for max_delay
      mISDN: return -EINVAL on error in dsp_control_req()
      net: revert 8728c54 ("net: dev_pick_tx() fix")
      Revert "ipv6: Don't depend on per socket memory for neighbour discovery messages"
      ipv4 tunnels: fix an oops when using ipip/sit with IPsec
      tipc: set sk_err correctly when connection fails
      tcp: tcp_make_synack() should use sock_wmalloc
      bridge: separate querier and query timer into IGMP/IPv4 and MLD/IPv6 ones
      ipv6: Don't depend on per socket memory for neighbour discovery messages
      ipv4: sendto/hdrincl: don't use destination address found in header
      tcp: don't apply tsoffset if rcv_tsecr is zero
      tcp: initialize rcv_tstamp for restored sockets
      net: xilinx: fix memleak
      net: usb: Add HP hs2434 device to ZLP exception table
      net: add cpu_relax to busy poll loop
      net: stmmac: fixed the pbl setting with DT
      genl: Hold reference on correct module while netlink-dump.
      genl: Fix genl dumpit() locking.
      xfrm: Fix potential null pointer dereference in xdst_queue_output
      ...
    authored August 30, 2013
  2. MAINTAINERS: change my DT related maintainer address

    Filtering capabilities on my work email are pretty much non-existent and this
    has turned out to be something of a firehose...
    
    Cc: Stephen Warren <swarren@wwwdotorg.org>
    Cc: Rob Herring <rob.herring@calxeda.com>
    Cc: Olof Johansson <olof@lixom.net>
    Cc: Linus Walleij <linus.walleij@linaro.org>
    Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
    Acked-by: Pawel Moll <pawel.moll@arm.com>
    Acked-by: Mark Rutland <mark.rutland@arm.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    authored August 30, 2013 torvalds committed August 30, 2013
  3. Linus Torvalds

    Merge tag 'sound-3.11' of git://git.kernel.org/pub/scm/linux/kernel/g…

    …it/tiwai/sound
    
    Pull sound fixes from Takashi Iwai:
     "This contains two Oops fixes (opti9xx and HD-audio) and a simple fixup
      for an Acer laptop.  All marked as stable patches"
    
    * tag 'sound-3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
      ALSA: opti9xx: Fix conflicting driver object name
      ALSA: hda - Fix NULL dereference with CONFIG_SND_DYNAMIC_MINORS=n
      ALSA: hda - Add inverted digital mic fixup for Acer Aspire One
    authored August 30, 2013

Aug 30, 2013

  1. Linus Torvalds

    Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/ker…

    …nel/git/arm/arm-soc
    
    Pull ARM SoC fixes from Olof Johansson:
     "Two straggling fixes that I had missed as they were posted a couple of
      weeks ago, causing problems with interrupts (breaking them completely)
      on the CSR SiRF platforms"
    
    * tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
      arm: prima2: drop nr_irqs in mach as we moved to linear irqdomain
      irqchip: sirf: move from legacy mode to linear irqdomain
    authored August 30, 2013
  2. Linus Torvalds

    Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux

    Pull drm fixes from Dave Airlie:
     "Since we are getting to the pointy end, one i915 black screen on some
      machines, and one vmwgfx stop userspace ability to nuke the VM,
    
      There might be one or two ati or nouveau fixes trickle in before
      final, but I think this should pretty much be it"
    
    * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
      drm/vmwgfx: Split GMR2_REMAP commands if they are to large
      drm/i915: ivb: fix edp voltage swing reg val
    authored August 30, 2013
  3. Linus Torvalds

    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/dtor/input
    
    Pull input layer updates from Dmitry Torokhov:
     "Just a couple of new IDs in Wacom and xpad drivers, i8042 is now
      disabled on ARC, and data checks in Elantech driver that were overly
      relaxed by the previous patch are now tightened"
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
      Input: i8042 - disable the driver on ARC platforms
      Input: xpad - add signature for Razer Onza Classic Edition
      Input: elantech - fix packet check for v3 and v4 hardware
      Input: wacom - add support for 0x300 and 0x301
    authored August 30, 2013
  4. Richard Cochran

    net: fec: fix time stamping logic after napi conversion

    Commit dc97538 "net: fec: add napi support to improve proformance"
    converted the fec driver to the napi model. However, that commit
    forgot to remove the call to skb_defer_rx_timestamp which is only
    needed in non-napi drivers.
    
    (The function napi_gro_receive eventually calls netif_receive_skb,
    which in turn calls skb_defer_rx_timestamp.)
    
    This patch should also be applied to the 3.9 and 3.10 kernels.
    
    Signed-off-by: Richard Cochran <richardcochran@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    authored August 30, 2013 davem330 committed August 30, 2013
  5. Daniel Borkmann

    net: bridge: convert MLDv2 Query MRC into msecs_to_jiffies for max_delay

    While looking into MLDv1/v2 code, I noticed that bridging code does
    not convert it's max delay into jiffies for MLDv2 messages as we do
    in core IPv6' multicast code.
    
    RFC3810, 5.1.3. Maximum Response Code says:
    
      The Maximum Response Code field specifies the maximum time allowed
      before sending a responding Report. The actual time allowed, called
      the Maximum Response Delay, is represented in units of milliseconds,
      and is derived from the Maximum Response Code as follows: [...]
    
    As we update timers that work with jiffies, we need to convert it.
    
    Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
    Cc: Linus Lüssing <linus.luessing@web.de>
    Cc: Hannes Frederic Sowa <hannes@stressinduktion.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    authored August 29, 2013 davem330 committed August 30, 2013
  6. mISDN: return -EINVAL on error in dsp_control_req()

    If skb->len is too short then we should return an error.  Otherwise we
    read beyond the end of skb->data for several bytes.
    
    Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    authored August 29, 2013 davem330 committed August 30, 2013
  7. net: revert 8728c54 ("net: dev_pick_tx() fix")

    commit 8728c54 ("net: dev_pick_tx() fix") and commit
    b6fe83e ("bonding: refine IFF_XMIT_DST_RELEASE capability")
    are quite incompatible : Queue selection is disabled because skb
    dst was dropped before entering bonding device.
    
    This causes major performance regression, mainly because TCP packets
    for a given flow can be sent to multiple queues.
    
    This is particularly visible when using the new FQ packet scheduler
    with MQ + FQ setup on the slaves.
    
    We can safely revert the first commit now that 416186f
    ("net: Split core bits of netdev_pick_tx into __netdev_pick_tx")
    properly caps the queue_index.
    
    Reported-by: Xi Wang <xii@google.com>
    Diagnosed-by: Xi Wang <xii@google.com>
    Signed-off-by: Eric Dumazet <edumazet@google.com>
    Cc: Tom Herbert <therbert@google.com>
    Cc: Alexander Duyck <alexander.h.duyck@intel.com>
    Cc: Denys Fedorysychenko <nuclearcat@nuclearcat.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    authored August 28, 2013 davem330 committed August 30, 2013
  8. davem330

    Revert "ipv6: Don't depend on per socket memory for neighbour discove…

    …ry messages"
    
    This reverts commit 1f324e3.
    
    It seems to cause regressions, and in particular the output path
    really depends upon there being a socket attached to skb->sk for
    checks such as sk_mc_loop(skb->sk) for example.  See ip6_output_finish2().
    
    Reported-by: Stephen Warren <swarren@wwwdotorg.org>
    Reported-by: Fabio Estevam <festevam@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    authored August 30, 2013
  9. ipv4 tunnels: fix an oops when using ipip/sit with IPsec

    Since commit 3d7b46c (ip_tunnel: push generic protocol handling to
    ip_tunnel module.), an Oops is triggered when an xfrm policy is configured on
    an IPv4 over IPv4 tunnel.
    
    xfrm4_policy_check() calls __xfrm_policy_check2(), which uses skb_dst(skb). But
    this field is NULL because iptunnel_pull_header() calls skb_dst_drop(skb).
    
    Signed-off-by: Li Hongjun <hongjun.li@6wind.com>
    Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    authored August 28, 2013 davem330 committed August 30, 2013
  10. tipc: set sk_err correctly when connection fails

    Should a connect fail, if the publication/server is unavailable or
    due to some other error, a positive value will be returned and errno
    is never set. If the application code checks for an explicit zero
    return from connect (success) or a negative return (failure), it
    will not catch the error and subsequent send() calls will fail as
    shown from the strace snippet below.
    
    socket(0x1e /* PF_??? */, SOCK_SEQPACKET, 0) = 3
    connect(3, {sa_family=0x1e /* AF_??? */, sa_data="\2\1\322\4\0\0\322\4\0\0\0\0\0\0"}, 16) = 111
    sendto(3, "test", 4, 0, NULL, 0)        = -1 EPIPE (Broken pipe)
    
    The reason for this behaviour is that TIPC wrongly inverts error
    codes set in sk_err.
    
    Signed-off-by: Erik Hugne <erik.hugne@ericsson.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    authored August 28, 2013 davem330 committed August 30, 2013
  11. tcp: tcp_make_synack() should use sock_wmalloc

    In commit 90ba9b1 (tcp: tcp_make_synack() can use alloc_skb()), Eric changed
    the call to sock_wmalloc in tcp_make_synack to alloc_skb.  In doing so,
    the netfilter owner match lost its ability to block the SYNACK packet on
    outbound listening sockets.  Revert the change, restoring the owner match
    functionality.
    
    This closes netfilter bugzilla #847.
    
    Signed-off-by: Phil Oester <kernel@linuxace.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    authored August 27, 2013 davem330 committed August 30, 2013
  12. T-X

    bridge: separate querier and query timer into IGMP/IPv4 and MLD/IPv6 …

    …ones
    
    Currently we would still potentially suffer multicast packet loss if there
    is just either an IGMP or an MLD querier: For the former case, we would
    possibly drop IPv6 multicast packets, for the latter IPv4 ones. This is
    because we are currently assuming that if either an IGMP or MLD querier
    is present that the other one is present, too.
    
    This patch makes the behaviour and fix added in
    "bridge: disable snooping if there is no querier" (b00589a)
    to also work if there is either just an IGMP or an MLD querier on the
    link: It refines the deactivation of the snooping to be protocol
    specific by using separate timers for the snooped IGMP and MLD queries
    as well as separate timers for our internal IGMP and MLD queriers.
    
    Signed-off-by: Linus Lüssing <linus.luessing@web.de>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    authored August 30, 2013 davem330 committed August 30, 2013
  13. Linus Torvalds

    Merge branch 'for-3.11-fixes' of git://git.kernel.org/pub/scm/linux/k…

    …ernel/git/tj/cgroup
    
    Pull cgroup fix from Tejun Heo:
     "During the percpu reference counting update which was merged during
      v3.11-rc1, the cgroup destruction path was updated so that a cgroup in
      the process of dying may linger on the children list, which was
      necessary as the cgroup should still be included in child/descendant
      iteration while percpu ref is being killed.
    
      Unfortunately, I forgot to update cgroup destruction path accordingly
      and cgroup destruction may fail spuriously with -EBUSY due to
      lingering dying children even when there's no live child left - e.g.
      "rmdir parent/child parent" will usually fail.
    
      This can be easily fixed by iterating through the children list to
      verify that there's no live child left.  While this is very late in
      the release cycle, this bug is very visible to userland and I believe
      the fix is relatively safe.
    
      Thanks Hugh for spotting and providing fix for the issue"
    
    * 'for-3.11-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup:
      cgroup: fix rmdir EBUSY regression in 3.11
    authored August 29, 2013
  14. Linus Torvalds

    Merge branch 'for-3.11-fixes' of git://git.kernel.org/pub/scm/linux/k…

    …ernel/git/tj/wq
    
    Pull workqueue fix from Tejun Heo:
     "This contains one fix which could lead to system-wide lockup on
      !PREEMPT kernels.  It's very late in the cycle but this definitely is
      a -stable material.
    
      The problem is that workqueue worker tasks may process unlimited
      number of work items back-to-back without every yielding inbetween.
      This usually isn't noticeable but a work item which re-queues itself
      waiting for someone else to do something can deadlock with
      stop_machine.  stop_machine will ensure nothing else happens on all
      other cpus and the requeueing work item will reqeueue itself
      indefinitely without ever yielding and thus preventing the CPU from
      entering stop_machine.
    
      Kudos to Jamie Liu for spotting and diagnosing the problem.  This can
      be trivially fixed by adding cond_resched() after processing each work
      item"
    
    * 'for-3.11-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq:
      workqueue: cond_resched() after processing each work item
    authored August 29, 2013
  15. Linus Torvalds

    Merge tag 'nfs-for-3.11-5' of git://git.linux-nfs.org/projects/trondm…

    …y/linux-nfs
    
    Pull NFS client bugfix from Trond Myklebust:
     "Stable patch to fix a highmem-related data corruption issue on 32-bit
      ARM platforms"
    
    * tag 'nfs-for-3.11-5' of git://git.linux-nfs.org/projects/trondmy/linux-nfs:
      SUNRPC: Fix memory corruption issue on 32-bit highmem systems
    authored August 29, 2013

Aug 29, 2013

  1. drm/vmwgfx: Split GMR2_REMAP commands if they are to large

    This fixes the piglit test texturing/max-texture-size
    causing the VM to die due to a too large SVGA command.
    
    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
    Reviewed-by: Biran Paul <brianp@vmware.com>
    Reviewed-by: Zack Rusin <zackr@vmware.com>
    Cc: stable@vger.kernel.org
    Signed-off-by: Dave Airlie <airlied@gmail.com>
    authored August 29, 2013 airlied committed August 30, 2013
  2. Dave Airlie

    Merge tag 'drm-intel-fixes-2013-08-30' of git://people.freedesktop.or…

    …g/~danvet/drm-intel into drm-fixes
    
    Just a one-line patch to fix a black screen issue on rare ivb machines,
    cc: stable. Normally I'd just shovel this into the -next pull request this
    late in the -rc cycle, but Linus was making noises about not getting real
    fixes which are cc: stable. So here we go ;-)
    
    * tag 'drm-intel-fixes-2013-08-30' of git://people.freedesktop.org/~danvet/drm-intel:
      drm/i915: ivb: fix edp voltage swing reg val
    authored August 30, 2013
  3. drm/i915: ivb: fix edp voltage swing reg val

    Fix the typo introduced in
    
    commit 1a2eb46
    Author: Keith Packard <keithp@keithp.com>
    Date:   Wed Nov 16 16:26:07 2011 -0800
    
        drm/i915: Hook up Ivybridge eDP
    
    This fixes eDP link-training failures and cases where all voltage swing
    /pre-emphasis levels were tried and failed during clock recovery and -
    as a fallback - we go on to do channel equalization with the last voltage
    swing/pre-emphasis level which will succeed. Both issues can lead to a
    blank screen.
    
    v2:
    - improve commit message
    
    CC: stable@vger.kernel.org
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=64880
    Tested-by: Jeremy Moles <cubicool@gmail.com>
    Signed-off-by: Imre Deak <imre.deak@intel.com>
    Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
    Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    authored August 23, 2013 danvet committed August 30, 2013
  4. davem330

    Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…

    …t/klassert/ipsec
    
    Steffen Klassert says:
    
    ====================
    This pull request fixes some issues that arise when 6in4 or 4in6 tunnels
    are used in combination with IPsec, all from Hannes Frederic Sowa and a
    null pointer dereference when queueing packets to the policy hold queue.
    
    1) We might access the local error handler of the wrong address family if
       6in4 or 4in6 tunnel is protected by ipsec. Fix this by addind a pointer
       to the correct local_error to xfrm_state_afinet.
    
    2) Add a helper function to always refer to the correct interpretation
       of skb->sk.
    
    3) Call skb_reset_inner_headers to record the position of the inner headers
       when adding a new one in various ipv6 tunnels. This is needed to identify
       the addresses where to send back errors in the xfrm layer.
    
    4) Dereference inner ipv6 header if encapsulated to always call the
       right error handler.
    
    5) Choose protocol family by skb protocol to not call the wrong
       xfrm{4,6}_local_error handler in case an ipv6 sockets is used
       in ipv4 mode.
    
    6) Partly revert "xfrm: introduce helper for safe determination of mtu"
       because this introduced pmtu discovery problems.
    
    7) Set skb->protocol on tcp, raw and ip6_append_data genereated skbs.
       We need this to get the correct mtu informations in xfrm.
    
    8) Fix null pointer dereference in xdst_queue_output.
    ====================
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    authored August 29, 2013
  5. Thomas Graf

    ipv6: Don't depend on per socket memory for neighbour discovery messages

    Allocating skbs when sending out neighbour discovery messages
    currently uses sock_alloc_send_skb() based on a per net namespace
    socket and thus share a socket wmem buffer space.
    
    If a netdevice is temporarily unable to transmit due to carrier
    loss or for other reasons, the queued up ndisc messages will cosnume
    all of the wmem space and will thus prevent from any more skbs to
    be allocated even for netdevices that are able to transmit packets.
    
    The number of neighbour discovery messages sent is very limited,
    simply use alloc_skb() and don't depend on any socket wmem space any
    longer.
    
    This patch has orginally been posted by Eric Dumazet in a modified
    form.
    
    Signed-off-by: Thomas Graf <tgraf@suug.ch>
    Cc: Eric Dumazet <eric.dumazet@gmail.com>
    Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
    Acked-by: Eric Dumazet <edumazet@google.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    authored August 28, 2013 davem330 committed August 29, 2013
  6. ipv4: sendto/hdrincl: don't use destination address found in header

    ipv4: raw_sendmsg: don't use header's destination address
    
    A sendto() regression was bisected and found to start with commit
    f8126f1 (ipv4: Adjust semantics of rt->rt_gateway.)
    
    The problem is that it tries to ARP-lookup the constructed packet's
    destination address rather than the explicitly provided address.
    
    Fix this using FLOWI_FLAG_KNOWN_NH so that given nexthop is used.
    
    cf. commit 2ad5b9e
    
    Reported-by: Chris Clark <chris.clark@alcatel-lucent.com>
    Bisected-by: Chris Clark <chris.clark@alcatel-lucent.com>
    Tested-by: Chris Clark <chris.clark@alcatel-lucent.com>
    Suggested-by: Julian Anastasov <ja@ssi.bg>
    Signed-off-by: Chris Clark <chris.clark@alcatel-lucent.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    authored August 27, 2013 davem330 committed August 29, 2013
  7. Andrew Vagin

    tcp: don't apply tsoffset if rcv_tsecr is zero

    The zero value means that tsecr is not valid, so it's a special case.
    
    tsoffset is used to customize tcp_time_stamp for one socket.
    tsoffset is usually zero, it's used when a socket was moved from one
    host to another host.
    
    Currently this issue affects logic of tcp_rcv_rtt_measure_ts. Due to
    incorrect value of rcv_tsecr, tcp_rcv_rtt_measure_ts sets rto to
    TCP_RTO_MAX.
    
    Cc: Pavel Emelyanov <xemul@parallels.com>
    Cc: Eric Dumazet <eric.dumazet@gmail.com>
    Cc: "David S. Miller" <davem@davemloft.net>
    Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
    Cc: James Morris <jmorris@namei.org>
    Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
    Cc: Patrick McHardy <kaber@trash.net>
    Reported-by: Cyrill Gorcunov <gorcunov@openvz.org>
    Signed-off-by: Andrey Vagin <avagin@openvz.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    authored August 27, 2013 davem330 committed August 29, 2013
  8. Andrew Vagin

    tcp: initialize rcv_tstamp for restored sockets

    u32 rcv_tstamp;     /* timestamp of last received ACK */
    
    Its value used in tcp_retransmit_timer, which closes socket
    if the last ack was received more then TCP_RTO_MAX ago.
    
    Currently rcv_tstamp is initialized to zero and if tcp_retransmit_timer
    is called before receiving a first ack, the connection is closed.
    
    This patch initializes rcv_tstamp to a timestamp, when a socket was
    restored.
    
    Cc: Pavel Emelyanov <xemul@parallels.com>
    Cc: Eric Dumazet <eric.dumazet@gmail.com>
    Cc: "David S. Miller" <davem@davemloft.net>
    Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
    Cc: James Morris <jmorris@namei.org>
    Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
    Cc: Patrick McHardy <kaber@trash.net>
    Reported-by: Cyrill Gorcunov <gorcunov@openvz.org>
    Signed-off-by: Andrey Vagin <avagin@openvz.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    authored August 27, 2013 davem330 committed August 29, 2013
  9. 21cnbao

    arm: prima2: drop nr_irqs in mach as we moved to linear irqdomain

    we don't need nr_irqs in machine any more after we move to
    linear irqdomain for sirfsoc irqchip, so drop them.
    
    Signed-off-by: Barry Song <Baohua.Song@csr.com>
    Signed-off-by: Olof Johansson <olof@lixom.net>
    authored August 06, 2013 olofj committed August 29, 2013
  10. 21cnbao

    irqchip: sirf: move from legacy mode to linear irqdomain

    the series of patches for irqdomain core in 3.11 has broken sirf
    irq which uses legacy mapping. all users fail in the new kernel
    while setupping irq.
    
    this patch moves to linear irqdomain and drop old legacy irqdomain
    codes since we don't need it any more, and at the same time, it
    also fixes the broken interrupts of sirfsoc in 3.11.
    
    on the other hand, we actually only have 64 interrupt sources for
    prima2 and atlas6, but there are 128 interrupt souces for marco
    which uses GIC. in the legacy codes, sirf gpio also uses legacy
    irqdomain, so to make gpio interrupt mapping not depend on the
    prima2/atlas6/marco an use unified marco,we enlarge prima2/atlas6
    interrupt number to 128. here we don't need this workaround any
    more as sirf gpio also moved to linear mode before. so we move
    SIRFSOC_NUM_IRQS back to 64 too.
    
    Signed-off-by: Barry Song <Baohua.Song@csr.com>
    Signed-off-by: Olof Johansson <olof@lixom.net>
    authored August 06, 2013 olofj committed August 29, 2013
  11. Mischa Jonker

    Input: i8042 - disable the driver on ARC platforms

    It causes crashes when enabled, and we don't have such a peripheral
    anyway on ARC platforms.
    
    Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    authored August 29, 2013 dtor committed August 29, 2013
Something went wrong with that request. Please try again.