28 Jul, 2006

1 commit


27 Jul, 2006

1 commit


26 Jul, 2006

9 commits

  • This fixes three drivers to compile again after my patch that removes
    the data_cmnd member from struct scsi_cmnd.

    The fas216 change is trivial, it should have been using ->cmnd all the
    time.

    NCR53C9 (which seem to be mostly duplicate driver with esp.c!) is doing
    something odd, it should only have looked at ->cmnd before not the saved
    copy that is kept for the error handlers sake. Note that it really
    should deal with the sync setting themselves but use the generic domain
    validation code that get this right - but that's for later let's push
    this simple compile fix for now.

    And sorry for the late fix for this, I have been busy with OLS and
    associated activities last week.

    Signed-off-by: Christoph Hellwig
    Signed-off-by: Linus Torvalds

    Christoph Hellwig
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6:
    [SCSI] esp: Fix build.
    [SPARC]: Fix SA_STATIC_ALLOC value.
    [SPARC64]: Explicitly print return PC when the kernel fault PC is bogus.

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6:
    [IPV4/IPV6]: Setting 0 for unused port field in RAW IP recvmsg().
    [IPV4] ipmr: ip multicast route bug fix.
    [TG3]: Update version and reldate
    [TG3]: Handle tg3_init_rings() failures
    [TG3]: Add tg3_restart_hw()
    [IPV4]: Clear the whole IPCB, this clears also IPCB(skb)->flags.
    [IPV6]: Clean skb cb on IPv6 input.
    [NETFILTER]: Demote xt_sctp to EXPERIMENTAL
    [NETFILTER]: bridge netfilter: add deferred output hooks to feature-removal-schedule
    [NETFILTER]: xt_pkttype: fix mismatches on locally generated packets
    [NETFILTER]: SNMP NAT: fix byteorder confusion
    [NETFILTER]: conntrack: fix SYSCTL=n compile
    [NETFILTER]: nf_queue: handle NF_STOP and unknown verdicts in nf_reinject
    [NETFILTER]: H.323 helper: fix possible NULL-ptr dereference

    Linus Torvalds
     
  • The patch below moves the cpu hotplugging higher up in the cpufreq
    layering; this is needed to avoid recursive taking of the cpu hotplug
    lock and to otherwise detangle the mess.

    The new rules are:
    1. you must do lock_cpu_hotplug() around the following functions:
    __cpufreq_driver_target
    __cpufreq_governor (for CPUFREQ_GOV_LIMITS operation only)
    __cpufreq_set_policy
    2. governer methods (.governer) must NOT take the lock_cpu_hotplug()
    lock in any way; they are called with the lock taken already
    3. if your governer spawns a thread that does things, like calling
    __cpufreq_driver_target, your thread must honor rule #1.
    4. the policy lock and other cpufreq internal locks nest within
    the lock_cpu_hotplug() lock.

    I'm not entirely happy about how the __cpufreq_governor rule ended up
    (conditional locking rule depending on the argument) but basically all
    callers pass this as a constant so it's not too horrible.

    The patch also removes the cpufreq_governor() function since during the
    locking audit it turned out to be entirely unused (so no need to fix it)

    The patch works on my testbox, but it could use more testing
    (otoh... it can't be much worse than the current code)

    Signed-off-by: Arjan van de Ven
    Signed-off-by: Linus Torvalds

    Arjan van de Ven
     
  • From: Tetsuo Handa from-linux-kernel@i-love.sakura.ne.jp

    The recvmsg() for raw socket seems to return random u16 value
    from the kernel stack memory since port field is not initialized.
    But I'm not sure this patch is correct.
    Does raw socket return any information stored in port field?

    [ BSD defines RAW IP recvmsg to return a sin_port value of zero.
    This is described in Steven's TCP/IP Illustrated Volume 2 on
    page 1055, which is discussing the BSD rip_input() implementation. ]

    Acked-by: YOSHIFUJI Hideaki
    Signed-off-by: David S. Miller

    Tetsuo Handa
     
  • IP multicast route code was reusing an skb which causes use after free
    and double free.

    From: Alexey Kuznetsov

    Note, it is real skb_clone(), not alloc_skb(). Equeued skb contains
    the whole half-prepared netlink message plus room for the rest.
    It could be also skb_copy(), if we want to be puristic about mangling
    cloned data, but original copy is really not going to be used.

    Acked-by: Stephen Hemminger
    Signed-off-by: David S. Miller

    Alexey Kuznetsov
     
  • Update version to 3.63.

    Signed-off-by: Michael Chan
    Signed-off-by: David S. Miller

    Michael Chan
     
  • Handle dev_alloc_skb() failures when initializing the RX rings.
    Without proper handling, the driver will crash when using a partial
    ring.

    Thanks to Stephane Doyon for reporting the bug and
    providing the initial patch.

    Howie Xu also reported the same issue.

    Signed-off-by: Michael Chan
    Signed-off-by: David S. Miller

    Michael Chan
     
  • Add tg3_restart_hw() to handle failures when re-initializing the
    device.

    Signed-off-by: Michael Chan
    Signed-off-by: David S. Miller

    Michael Chan
     

25 Jul, 2006

29 commits