1. 19 Apr, 2010 15 commits
  2. 18 Apr, 2010 1 commit
  3. 17 Apr, 2010 3 commits
  4. 16 Apr, 2010 15 commits
  5. 15 Apr, 2010 6 commits
    • David S. Miller's avatar
    • Eric Dumazet's avatar
      ip: Fix ip_dev_loopback_xmit() · e30b38c2
      Eric Dumazet authored
      Eric Paris got following trace with a linux-next kernel
      
      [   14.203970] BUG: using smp_processor_id() in preemptible [00000000]
      code: avahi-daemon/2093
      [   14.204025] caller is netif_rx+0xfa/0x110
      [   14.204035] Call Trace:
      [   14.204064]  [<ffffffff81278fe5>] debug_smp_processor_id+0x105/0x110
      [   14.204070]  [<ffffffff8142163a>] netif_rx+0xfa/0x110
      [   14.204090]  [<ffffffff8145b631>] ip_dev_loopback_xmit+0x71/0xa0
      [   14.204095]  [<ffffffff8145b892>] ip_mc_output+0x192/0x2c0
      [   14.204099]  [<ffffffff8145d610>] ip_local_out+0x20/0x30
      [   14.204105]  [<ffffffff8145d8ad>] ip_push_pending_frames+0x28d/0x3d0
      [   14.204119]  [<ffffffff8147f1cc>] udp_push_pending_frames+0x14c/0x400
      [   14.204125]  [<ffffffff814803fc>] udp_sendmsg+0x39c/0x790
      [   14.204137]  [<ffffffff814891d5>] inet_sendmsg+0x45/0x80
      [   14.204149]  [<ffffffff8140af91>] sock_sendmsg+0xf1/0x110
      [   14.204189]  [<ffffffff8140dc6c>] sys_sendmsg+0x20c/0x380
      [   14.204233]  [<ffffffff8100ad82>] system_call_fastpath+0x16/0x1b
      
      While current linux-2.6 kernel doesnt emit this warning, bug is latent
      and might cause unexpected failures.
      
      ip_dev_loopback_xmit() runs in process context, preemption enabled, so
      must call netif_rx_ni() instead of netif_rx(), to make sure that we
      process pending software interrupt.
      
      Same change for ip6_dev_loopback_xmit()
      Reported-by: default avatarEric Paris <eparis@redhat.com>
      Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e30b38c2
    • Linus Torvalds's avatar
      Merge branch 'x86-fixes-for-linus' of... · dc57da38
      Linus Torvalds authored
      Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        x86/gart: Disable GART explicitly before initialization
        dma-debug: Cleanup for copy-loop in filter_write()
        x86/amd-iommu: Remove obsolete parameter documentation
        x86/amd-iommu: use for_each_pci_dev
        Revert "x86: disable IOMMUs on kernel crash"
        x86/amd-iommu: warn when issuing command to uninitialized cmd buffer
        x86/amd-iommu: enable iommu before attaching devices
        x86/amd-iommu: Use helper function to destroy domain
        x86/amd-iommu: Report errors in acpi parsing functions upstream
        x86/amd-iommu: Pt mode fix for domain_destroy
        x86/amd-iommu: Protect IOMMU-API map/unmap path
        x86/amd-iommu: Remove double NULL check in check_device
      dc57da38
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6 · 2fed94c0
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6:
        firewire: cdev: change license of exported header files to MIT license
        firewire: cdev: comment fixlet
        firewire: cdev: iso packet documentation
        firewire: cdev: fix information leak
        firewire: cdev: require quadlet-aligned headers for transmit packets
        firewire: cdev: disallow receive packets without header
      2fed94c0
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input · 00eef7bd
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
        Input: wacom - switch mode upon system resume
        Revert "Input: wacom - merge out and in prox events"
        Input: matrix_keypad - allow platform to disable key autorepeat
        Input: ALPS - add signature for HP Pavilion dm3 laptops
        Input: i8042 - spelling fix
        Input: sparse-keymap - implement safer freeing of the keymap
        Input: update the status of the Multitouch X driver project
        Input: clarify the no-finger event in multitouch protocol
        Input: bcm5974 - retract efi-broken suspend_resume
        Input: sparse-keymap - free the right keymap on error
      00eef7bd
    • Ping Cheng's avatar
      Input: wacom - switch mode upon system resume · 014f6150
      Ping Cheng authored
      When Wacom devices wake up from a sleep, the switch mode command
      (wacom_query_tablet_data) is needed before wacom_open is called.
      wacom_query_tablet_data should not be executed inside wacom_open
      since wacom_open is called more than once during probe.
      
      wacom_retrieve_hid_descriptor is removed from wacom_resume due
      to the fact that the required descriptors are stored properly
      upon system resume.
      Reported-and-tested-by: default avatarAnton Anikin <Anton@Anikin.name>
      Signed-off-by: default avatarPing Cheng <pingc@wacom.com>
      Cc: stable@kernel.org
      Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
      014f6150