<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/net/ethernet, branch v3.6.1</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>netdev: octeon: fix return value check in octeon_mgmt_init_phy()</title>
<updated>2012-09-28T05:18:32+00:00</updated>
<author>
<name>Wei Yongjun</name>
<email>yongjun_wei@trendmicro.com.cn</email>
</author>
<published>2012-09-27T19:04:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=df555b665367f9de6c04826acc482096f17c243d'/>
<id>df555b665367f9de6c04826acc482096f17c243d</id>
<content type='text'>
In case of error, the function of_phy_connect() returns NULL
pointer not ERR_PTR(). The IS_ERR() test in the return value
check should be replaced with NULL test.

dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun &lt;yongjun_wei@trendmicro.com.cn&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In case of error, the function of_phy_connect() returns NULL
pointer not ERR_PTR(). The IS_ERR() test in the return value
check should be replaced with NULL test.

dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun &lt;yongjun_wei@trendmicro.com.cn&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>qlcnic: Fix scheduling while atomic bug</title>
<updated>2012-09-27T23:24:52+00:00</updated>
<author>
<name>Narendra K</name>
<email>narendra_k@dell.com</email>
</author>
<published>2012-09-25T07:53:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=68b3f28c11bf896be32ad2a2e151aaa5f4a7c98e'/>
<id>68b3f28c11bf896be32ad2a2e151aaa5f4a7c98e</id>
<content type='text'>
In the device close path, 'qlcnic_fw_destroy_ctx' and
'qlcnic_poll_rsp' call msleep. But  'qlcnic_fw_destroy_ctx' and
'qlcnic_poll_rsp' are called with 'adapter-&gt;tx_clean_lock' spin lock
held resulting in scheduling while atomic bug causing the following
trace.

I observed that the commit 012dc19a45b2b9cc2ebd14aaa401cf782c2abba4
from John Fastabend addresses a similar issue in ixgbevf driver.
Adopting the same approach used in the commit, this patch uses mdelay
to address the issue.

[79884.999115] BUG: scheduling while atomic: ip/30846/0x00000002
[79885.005562] INFO: lockdep is turned off.
[79885.009958] Modules linked in: qlcnic fuse nf_conntrack_netbios_ns nf_conntrack_broadcast ipt_MASQUERADE bnep bluetooth rfkill ip6table_mangle ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables iptable_nat nf_nat iptable_mangle ipt_REJECT nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack iptable_filter ip_tables dcdbas coretemp kvm_intel kvm iTCO_wdt ixgbe iTCO_vendor_support crc32c_intel ghash_clmulni_intel nfsd microcode sb_edac pcspkr edac_core dca bnx2x shpchp auth_rpcgss nfs_acl lpc_ich mfd_core mdio lockd libcrc32c wmi acpi_pad acpi_power_meter sunrpc uinput sd_mod sr_mod cdrom crc_t10dif ahci libahci libata megaraid_sas usb_storage dm_mirror dm_region_hash dm_log dm_mod [last unloaded: qlcnic]
[79885.083608] Pid: 30846, comm: ip Tainted: G        W  O 3.6.0-rc7+ #1
[79885.090805] Call Trace:
[79885.093569]  [&lt;ffffffff816764d8&gt;] __schedule_bug+0x68/0x76
[79885.099699]  [&lt;ffffffff8168358e&gt;] __schedule+0x99e/0xa00
[79885.105634]  [&lt;ffffffff81683929&gt;] schedule+0x29/0x70
[79885.111186]  [&lt;ffffffff81680def&gt;] schedule_timeout+0x16f/0x350
[79885.117724]  [&lt;ffffffff811afb7a&gt;] ? init_object+0x4a/0x90
[79885.123770]  [&lt;ffffffff8107c190&gt;] ? __internal_add_timer+0x140/0x140
[79885.130873]  [&lt;ffffffff81680fee&gt;] schedule_timeout_uninterruptible+0x1e/0x20
[79885.138773]  [&lt;ffffffff8107e830&gt;] msleep+0x20/0x30
[79885.144159]  [&lt;ffffffffa04c7fbf&gt;] qlcnic_issue_cmd+0xef/0x290 [qlcnic]
[79885.151478]  [&lt;ffffffffa04c8265&gt;] qlcnic_fw_cmd_destroy_rx_ctx+0x55/0x90 [qlcnic]
[79885.159868]  [&lt;ffffffffa04c92fd&gt;] qlcnic_fw_destroy_ctx+0x2d/0xa0 [qlcnic]
[79885.167576]  [&lt;ffffffffa04bf2ed&gt;] __qlcnic_down+0x11d/0x180 [qlcnic]
[79885.174708]  [&lt;ffffffffa04bf6f8&gt;] qlcnic_close+0x18/0x20 [qlcnic]
[79885.181547]  [&lt;ffffffff8153b4c5&gt;] __dev_close_many+0x95/0xe0
[79885.187899]  [&lt;ffffffff8153b548&gt;] __dev_close+0x38/0x50
[79885.193761]  [&lt;ffffffff81545101&gt;] __dev_change_flags+0xa1/0x180
[79885.200419]  [&lt;ffffffff81545298&gt;] dev_change_flags+0x28/0x70
[79885.206779]  [&lt;ffffffff815531b8&gt;] do_setlink+0x378/0xa00
[79885.212731]  [&lt;ffffffff81354fe1&gt;] ? nla_parse+0x31/0xe0
[79885.218612]  [&lt;ffffffff815558ee&gt;] rtnl_newlink+0x37e/0x560
[79885.224768]  [&lt;ffffffff812cfa19&gt;] ? selinux_capable+0x39/0x50
[79885.231217]  [&lt;ffffffff812cbf98&gt;] ? security_capable+0x18/0x20
[79885.237765]  [&lt;ffffffff81555114&gt;] rtnetlink_rcv_msg+0x114/0x2f0
[79885.244412]  [&lt;ffffffff81551f87&gt;] ? rtnl_lock+0x17/0x20
[79885.250280]  [&lt;ffffffff81551f87&gt;] ? rtnl_lock+0x17/0x20
[79885.256148]  [&lt;ffffffff81555000&gt;] ? __rtnl_unlock+0x20/0x20
[79885.262413]  [&lt;ffffffff81570fc1&gt;] netlink_rcv_skb+0xa1/0xb0
[79885.268661]  [&lt;ffffffff81551fb5&gt;] rtnetlink_rcv+0x25/0x40
[79885.274727]  [&lt;ffffffff815708bd&gt;] netlink_unicast+0x19d/0x220
[79885.281146]  [&lt;ffffffff81570c45&gt;] netlink_sendmsg+0x305/0x3f0
[79885.287595]  [&lt;ffffffff8152b188&gt;] ? sock_update_classid+0x148/0x2e0
[79885.294650]  [&lt;ffffffff81525c2c&gt;] sock_sendmsg+0xbc/0xf0
[79885.300600]  [&lt;ffffffff8152600c&gt;] __sys_sendmsg+0x3ac/0x3c0
[79885.306853]  [&lt;ffffffff8109be23&gt;] ? up_read+0x23/0x40
[79885.312510]  [&lt;ffffffff816896cc&gt;] ? do_page_fault+0x2bc/0x570
[79885.318968]  [&lt;ffffffff81191854&gt;] ? sys_brk+0x44/0x150
[79885.324715]  [&lt;ffffffff811c458c&gt;] ? fget_light+0x24c/0x520
[79885.330875]  [&lt;ffffffff815286f9&gt;] sys_sendmsg+0x49/0x90
[79885.336707]  [&lt;ffffffff8168e429&gt;] system_call_fastpath+0x16/0x1b

Signed-off-by: Narendra K &lt;narendra_k@dell.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the device close path, 'qlcnic_fw_destroy_ctx' and
'qlcnic_poll_rsp' call msleep. But  'qlcnic_fw_destroy_ctx' and
'qlcnic_poll_rsp' are called with 'adapter-&gt;tx_clean_lock' spin lock
held resulting in scheduling while atomic bug causing the following
trace.

I observed that the commit 012dc19a45b2b9cc2ebd14aaa401cf782c2abba4
from John Fastabend addresses a similar issue in ixgbevf driver.
Adopting the same approach used in the commit, this patch uses mdelay
to address the issue.

[79884.999115] BUG: scheduling while atomic: ip/30846/0x00000002
[79885.005562] INFO: lockdep is turned off.
[79885.009958] Modules linked in: qlcnic fuse nf_conntrack_netbios_ns nf_conntrack_broadcast ipt_MASQUERADE bnep bluetooth rfkill ip6table_mangle ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables iptable_nat nf_nat iptable_mangle ipt_REJECT nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack iptable_filter ip_tables dcdbas coretemp kvm_intel kvm iTCO_wdt ixgbe iTCO_vendor_support crc32c_intel ghash_clmulni_intel nfsd microcode sb_edac pcspkr edac_core dca bnx2x shpchp auth_rpcgss nfs_acl lpc_ich mfd_core mdio lockd libcrc32c wmi acpi_pad acpi_power_meter sunrpc uinput sd_mod sr_mod cdrom crc_t10dif ahci libahci libata megaraid_sas usb_storage dm_mirror dm_region_hash dm_log dm_mod [last unloaded: qlcnic]
[79885.083608] Pid: 30846, comm: ip Tainted: G        W  O 3.6.0-rc7+ #1
[79885.090805] Call Trace:
[79885.093569]  [&lt;ffffffff816764d8&gt;] __schedule_bug+0x68/0x76
[79885.099699]  [&lt;ffffffff8168358e&gt;] __schedule+0x99e/0xa00
[79885.105634]  [&lt;ffffffff81683929&gt;] schedule+0x29/0x70
[79885.111186]  [&lt;ffffffff81680def&gt;] schedule_timeout+0x16f/0x350
[79885.117724]  [&lt;ffffffff811afb7a&gt;] ? init_object+0x4a/0x90
[79885.123770]  [&lt;ffffffff8107c190&gt;] ? __internal_add_timer+0x140/0x140
[79885.130873]  [&lt;ffffffff81680fee&gt;] schedule_timeout_uninterruptible+0x1e/0x20
[79885.138773]  [&lt;ffffffff8107e830&gt;] msleep+0x20/0x30
[79885.144159]  [&lt;ffffffffa04c7fbf&gt;] qlcnic_issue_cmd+0xef/0x290 [qlcnic]
[79885.151478]  [&lt;ffffffffa04c8265&gt;] qlcnic_fw_cmd_destroy_rx_ctx+0x55/0x90 [qlcnic]
[79885.159868]  [&lt;ffffffffa04c92fd&gt;] qlcnic_fw_destroy_ctx+0x2d/0xa0 [qlcnic]
[79885.167576]  [&lt;ffffffffa04bf2ed&gt;] __qlcnic_down+0x11d/0x180 [qlcnic]
[79885.174708]  [&lt;ffffffffa04bf6f8&gt;] qlcnic_close+0x18/0x20 [qlcnic]
[79885.181547]  [&lt;ffffffff8153b4c5&gt;] __dev_close_many+0x95/0xe0
[79885.187899]  [&lt;ffffffff8153b548&gt;] __dev_close+0x38/0x50
[79885.193761]  [&lt;ffffffff81545101&gt;] __dev_change_flags+0xa1/0x180
[79885.200419]  [&lt;ffffffff81545298&gt;] dev_change_flags+0x28/0x70
[79885.206779]  [&lt;ffffffff815531b8&gt;] do_setlink+0x378/0xa00
[79885.212731]  [&lt;ffffffff81354fe1&gt;] ? nla_parse+0x31/0xe0
[79885.218612]  [&lt;ffffffff815558ee&gt;] rtnl_newlink+0x37e/0x560
[79885.224768]  [&lt;ffffffff812cfa19&gt;] ? selinux_capable+0x39/0x50
[79885.231217]  [&lt;ffffffff812cbf98&gt;] ? security_capable+0x18/0x20
[79885.237765]  [&lt;ffffffff81555114&gt;] rtnetlink_rcv_msg+0x114/0x2f0
[79885.244412]  [&lt;ffffffff81551f87&gt;] ? rtnl_lock+0x17/0x20
[79885.250280]  [&lt;ffffffff81551f87&gt;] ? rtnl_lock+0x17/0x20
[79885.256148]  [&lt;ffffffff81555000&gt;] ? __rtnl_unlock+0x20/0x20
[79885.262413]  [&lt;ffffffff81570fc1&gt;] netlink_rcv_skb+0xa1/0xb0
[79885.268661]  [&lt;ffffffff81551fb5&gt;] rtnetlink_rcv+0x25/0x40
[79885.274727]  [&lt;ffffffff815708bd&gt;] netlink_unicast+0x19d/0x220
[79885.281146]  [&lt;ffffffff81570c45&gt;] netlink_sendmsg+0x305/0x3f0
[79885.287595]  [&lt;ffffffff8152b188&gt;] ? sock_update_classid+0x148/0x2e0
[79885.294650]  [&lt;ffffffff81525c2c&gt;] sock_sendmsg+0xbc/0xf0
[79885.300600]  [&lt;ffffffff8152600c&gt;] __sys_sendmsg+0x3ac/0x3c0
[79885.306853]  [&lt;ffffffff8109be23&gt;] ? up_read+0x23/0x40
[79885.312510]  [&lt;ffffffff816896cc&gt;] ? do_page_fault+0x2bc/0x570
[79885.318968]  [&lt;ffffffff81191854&gt;] ? sys_brk+0x44/0x150
[79885.324715]  [&lt;ffffffff811c458c&gt;] ? fget_light+0x24c/0x520
[79885.330875]  [&lt;ffffffff815286f9&gt;] sys_sendmsg+0x49/0x90
[79885.336707]  [&lt;ffffffff8168e429&gt;] system_call_fastpath+0x16/0x1b

Signed-off-by: Narendra K &lt;narendra_k@dell.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bnx2: Clean up remaining iounmap</title>
<updated>2012-09-27T23:18:50+00:00</updated>
<author>
<name>Neil Horman</name>
<email>nhorman@tuxdriver.com</email>
</author>
<published>2012-09-26T07:22:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=64f605c77408ad3aaff025e849d2e42cad9687e3'/>
<id>64f605c77408ad3aaff025e849d2e42cad9687e3</id>
<content type='text'>
commit c0357e975afdbbedab5c662d19bef865f02adc17 modified bnx2 to switch from
using ioremap/iounmap to pci_iomap/pci_iounmap.  They missed a spot in the error
path of bnx2_init_one though.  This patch just cleans that up.

Signed-off-by: Neil Horman &lt;nhorman@tuxdriver.com&gt;
CC: Michael Chan &lt;mcan@broadcom.com&gt;
CC: "David S. Miller" &lt;davem@davemloft.net&gt;
Acked-by: Michael Chan &lt;mchan@broadcom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit c0357e975afdbbedab5c662d19bef865f02adc17 modified bnx2 to switch from
using ioremap/iounmap to pci_iomap/pci_iounmap.  They missed a spot in the error
path of bnx2_init_one though.  This patch just cleans that up.

Signed-off-by: Neil Horman &lt;nhorman@tuxdriver.com&gt;
CC: Michael Chan &lt;mcan@broadcom.com&gt;
CC: "David S. Miller" &lt;davem@davemloft.net&gt;
Acked-by: Michael Chan &lt;mchan@broadcom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>netdev: pasemi: fix return value check in pasemi_mac_phy_init()</title>
<updated>2012-09-27T17:20:50+00:00</updated>
<author>
<name>Wei Yongjun</name>
<email>yongjun_wei@trendmicro.com.cn</email>
</author>
<published>2012-09-26T19:51:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=beb5ac20b3f90ffabac1eecd3c00205255df0728'/>
<id>beb5ac20b3f90ffabac1eecd3c00205255df0728</id>
<content type='text'>
In case of error, the function of_phy_connect() returns NULL
pointer not ERR_PTR(). The IS_ERR() test in the return value
check should be replaced with NULL test.

dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun &lt;yongjun_wei@trendmicro.com.cn&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In case of error, the function of_phy_connect() returns NULL
pointer not ERR_PTR(). The IS_ERR() test in the return value
check should be replaced with NULL test.

dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun &lt;yongjun_wei@trendmicro.com.cn&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net</title>
<updated>2012-09-21T21:32:55+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2012-09-21T21:32:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=abef3bd71029b80ec1bdd6c6244b5b0b99f56633'/>
<id>abef3bd71029b80ec1bdd6c6244b5b0b99f56633</id>
<content type='text'>
Pull networking updates from David Miller:
 "More bug fixes, nothing gets past these guys"

 1) More kernel info leaks found by Mathias Krause, this time in the
    IPSEC configuration layers.

 2) When IPSEC policies change, we do not properly make sure that cached
    routes (which could now be stale) throughout the system will be
    revalidated.  Fix this by generalizing the generation count
    invalidation scheme used by ipv4.  From Nicolas Dichtel.

 3) When repairing TCP sockets, we need to allow to restore not just the
    send window scale, but the receive one too.  Extend the existing
    interface to achieve this in a backwards compatible way.  From
    Andrey Vagin.

 4) A fix for FCOE scatter gather feature validation erroneously caused
    scatter gather to be disabled for things like AOE too.  From Ed L
    Cashin.

 5) Several cases of mishandling of error pointers, from Mathias Krause,
    Wei Yongjun, and Devendra Naga.

 6) Fix gianfar build, from Richard Cochran.

 7) CAP_NET_* failures should return -EPERM not -EACCES, from Zhao
    Hongjiang.

 8) Hardware reset fix in janz-ican3 CAN driver, from Ira W Snyder.

 9) Fix oops during rmmod in ti_hecc CAN driver, from Marc Kleine-Budde.

10) The removal of the conditional compilation of the clk support code
    in the stmmac driver broke things.  This is because the interfaces
    used are the ones that don't also perform the enable/disable of the
    clk.  Fix from Stefan Roese.

11) The QFQ packet scheduler can record out of range virtual start
    times, resulting later in misbehavior and even crashes.  Fix from
    Paolo Valente.

12) If MSG_WAITALL is used with IOAT DMA under TCP, we can wedge the
    receiver when the advertised receive window goes to zero.  Detect
    this case and force the processing of the IOAT DMA queue when it
    happens to avoid getting stuck.  Fix from Michal Kubecek.

13) batman-adv assumes that test_bit() returns only 0 or 1, but this is
    not true for x86 (which returns -1 or 0, via the 'sbb' instruction).
    Fix from Linus Lussing.

14) Fix small packet corruption in e1000, from Tushar Dave.

15) make_blackhole() in the IPSEC policy code can do one read unlock too
    many, fix from Li RongQing.

16) The new tcp_try_coalesce() code introduced a bug in TCP URG
    handling, fix from Eric Dumazet.

17) Fix memory leak in __netif_receive_skb() when doing zerocopy and
    when hit an OOM condition.  From Michael S Tsirkin.

18) netxen blindly deferences pdev-&gt;bus-&gt;self, which is not guarenteed
    to be non-NULL.  Fix from Nikolay Aleksandrov.

19) Fix a performance regression caused by mistakes in ipv6 checksum
    validation in the bnx2x driver, fix from Michal Schmidt.

* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (45 commits)
  net/stmmac: Use clk_prepare_enable and clk_disable_unprepare
  net: change return values from -EACCES to -EPERM
  net/irda: sh_sir: fix return value check in sh_sir_set_baudrate()
  stmmac: fix return value check in stmmac_open_ext_timer()
  gianfar: fix phc index build failure
  ipv6: fix return value check in fib6_add()
  bnx2x: remove false warning regarding interrupt number
  can: ti_hecc: fix oops during rmmod
  can: janz-ican3: fix support for older hardware revisions
  net: do not disable sg for packets requiring no checksum
  aoe: assert AoE packets marked as requiring no checksum
  at91ether: return PTR_ERR if call to clk_get fails
  xfrm_user: don't copy esn replay window twice for new states
  xfrm_user: ensure user supplied esn replay window is valid
  xfrm_user: fix info leak in copy_to_user_tmpl()
  xfrm_user: fix info leak in copy_to_user_policy()
  xfrm_user: fix info leak in copy_to_user_state()
  xfrm_user: fix info leak in copy_to_user_auth()
  net: qmi_wwan: adding Huawei E367, ZTE MF683 and Pantech P4200
  tcp: restore rcv_wscale in a repair mode (v2)
  ...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pull networking updates from David Miller:
 "More bug fixes, nothing gets past these guys"

 1) More kernel info leaks found by Mathias Krause, this time in the
    IPSEC configuration layers.

 2) When IPSEC policies change, we do not properly make sure that cached
    routes (which could now be stale) throughout the system will be
    revalidated.  Fix this by generalizing the generation count
    invalidation scheme used by ipv4.  From Nicolas Dichtel.

 3) When repairing TCP sockets, we need to allow to restore not just the
    send window scale, but the receive one too.  Extend the existing
    interface to achieve this in a backwards compatible way.  From
    Andrey Vagin.

 4) A fix for FCOE scatter gather feature validation erroneously caused
    scatter gather to be disabled for things like AOE too.  From Ed L
    Cashin.

 5) Several cases of mishandling of error pointers, from Mathias Krause,
    Wei Yongjun, and Devendra Naga.

 6) Fix gianfar build, from Richard Cochran.

 7) CAP_NET_* failures should return -EPERM not -EACCES, from Zhao
    Hongjiang.

 8) Hardware reset fix in janz-ican3 CAN driver, from Ira W Snyder.

 9) Fix oops during rmmod in ti_hecc CAN driver, from Marc Kleine-Budde.

10) The removal of the conditional compilation of the clk support code
    in the stmmac driver broke things.  This is because the interfaces
    used are the ones that don't also perform the enable/disable of the
    clk.  Fix from Stefan Roese.

11) The QFQ packet scheduler can record out of range virtual start
    times, resulting later in misbehavior and even crashes.  Fix from
    Paolo Valente.

12) If MSG_WAITALL is used with IOAT DMA under TCP, we can wedge the
    receiver when the advertised receive window goes to zero.  Detect
    this case and force the processing of the IOAT DMA queue when it
    happens to avoid getting stuck.  Fix from Michal Kubecek.

13) batman-adv assumes that test_bit() returns only 0 or 1, but this is
    not true for x86 (which returns -1 or 0, via the 'sbb' instruction).
    Fix from Linus Lussing.

14) Fix small packet corruption in e1000, from Tushar Dave.

15) make_blackhole() in the IPSEC policy code can do one read unlock too
    many, fix from Li RongQing.

16) The new tcp_try_coalesce() code introduced a bug in TCP URG
    handling, fix from Eric Dumazet.

17) Fix memory leak in __netif_receive_skb() when doing zerocopy and
    when hit an OOM condition.  From Michael S Tsirkin.

18) netxen blindly deferences pdev-&gt;bus-&gt;self, which is not guarenteed
    to be non-NULL.  Fix from Nikolay Aleksandrov.

19) Fix a performance regression caused by mistakes in ipv6 checksum
    validation in the bnx2x driver, fix from Michal Schmidt.

* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (45 commits)
  net/stmmac: Use clk_prepare_enable and clk_disable_unprepare
  net: change return values from -EACCES to -EPERM
  net/irda: sh_sir: fix return value check in sh_sir_set_baudrate()
  stmmac: fix return value check in stmmac_open_ext_timer()
  gianfar: fix phc index build failure
  ipv6: fix return value check in fib6_add()
  bnx2x: remove false warning regarding interrupt number
  can: ti_hecc: fix oops during rmmod
  can: janz-ican3: fix support for older hardware revisions
  net: do not disable sg for packets requiring no checksum
  aoe: assert AoE packets marked as requiring no checksum
  at91ether: return PTR_ERR if call to clk_get fails
  xfrm_user: don't copy esn replay window twice for new states
  xfrm_user: ensure user supplied esn replay window is valid
  xfrm_user: fix info leak in copy_to_user_tmpl()
  xfrm_user: fix info leak in copy_to_user_policy()
  xfrm_user: fix info leak in copy_to_user_state()
  xfrm_user: fix info leak in copy_to_user_auth()
  net: qmi_wwan: adding Huawei E367, ZTE MF683 and Pantech P4200
  tcp: restore rcv_wscale in a repair mode (v2)
  ...
</pre>
</div>
</content>
</entry>
<entry>
<title>net/stmmac: Use clk_prepare_enable and clk_disable_unprepare</title>
<updated>2012-09-21T18:59:52+00:00</updated>
<author>
<name>Stefan Roese</name>
<email>sr@denx.de</email>
</author>
<published>2012-09-21T01:06:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a630844d898ae8a0b4a3db84af061150682e0d3c'/>
<id>a630844d898ae8a0b4a3db84af061150682e0d3c</id>
<content type='text'>
This patch fixes an issue introduced by commit ID 6a81c26f
[net/stmmac: remove conditional compilation of clk code], which
switched from the internal stmmac_clk_{en}{dis}able calls to
clk_{en}{dis}able. By this, calling clk_prepare and clk_unprepare
was removed.

clk_{un}prepare is mandatory for platforms using common clock framework.
Since these drivers are used by SPEAr platform, which supports common
clock framework, add clk_{un}prepare() support for them. Otherwise
the clocks are not correctly en-/disabled and ethernet support doesn't
work.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Cc: Viresh Kumar &lt;viresh.kumar@linaro.org&gt;
Cc: Giuseppe Cavallaro &lt;peppe.cavallaro@st.com&gt;
Reviewed-by: Viresh Kumar &lt;viresh.kumar@linaro.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch fixes an issue introduced by commit ID 6a81c26f
[net/stmmac: remove conditional compilation of clk code], which
switched from the internal stmmac_clk_{en}{dis}able calls to
clk_{en}{dis}able. By this, calling clk_prepare and clk_unprepare
was removed.

clk_{un}prepare is mandatory for platforms using common clock framework.
Since these drivers are used by SPEAr platform, which supports common
clock framework, add clk_{un}prepare() support for them. Otherwise
the clocks are not correctly en-/disabled and ethernet support doesn't
work.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Cc: Viresh Kumar &lt;viresh.kumar@linaro.org&gt;
Cc: Giuseppe Cavallaro &lt;peppe.cavallaro@st.com&gt;
Reviewed-by: Viresh Kumar &lt;viresh.kumar@linaro.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>stmmac: fix return value check in stmmac_open_ext_timer()</title>
<updated>2012-09-21T17:47:24+00:00</updated>
<author>
<name>Wei Yongjun</name>
<email>yongjun_wei@trendmicro.com.cn</email>
</author>
<published>2012-09-20T21:06:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6861509f9fee9c5e568c5f6852bb96f2475b4179'/>
<id>6861509f9fee9c5e568c5f6852bb96f2475b4179</id>
<content type='text'>
In case of error, the function clk_get() returns ERR_PTR()
and never returns NULL pointer. The NULL test in the error
handling should be replaced with IS_ERR().

dpatch engine is used to auto generated this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun &lt;yongjun_wei@trendmicro.com.cn&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In case of error, the function clk_get() returns ERR_PTR()
and never returns NULL pointer. The NULL test in the error
handling should be replaced with IS_ERR().

dpatch engine is used to auto generated this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun &lt;yongjun_wei@trendmicro.com.cn&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gianfar: fix phc index build failure</title>
<updated>2012-09-21T17:45:29+00:00</updated>
<author>
<name>Richard Cochran</name>
<email>richardcochran@gmail.com</email>
</author>
<published>2012-09-20T19:11:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=28889b7e7818342f6c254e27b9b2c68702ab867a'/>
<id>28889b7e7818342f6c254e27b9b2c68702ab867a</id>
<content type='text'>
This patch fixes a build failure introduced in commit 66636287
("gianfar: Support the get_ts_info ethtool method."). Not only was a
global variable inconsistently named, but also it was not exported as
it should have been.

This fix is also needed in stable version 3.5.

Signed-off-by: Richard Cochran &lt;richardcochran@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch fixes a build failure introduced in commit 66636287
("gianfar: Support the get_ts_info ethtool method."). Not only was a
global variable inconsistently named, but also it was not exported as
it should have been.

This fix is also needed in stable version 3.5.

Signed-off-by: Richard Cochran &lt;richardcochran@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bnx2x: remove false warning regarding interrupt number</title>
<updated>2012-09-21T17:27:16+00:00</updated>
<author>
<name>Ariel Elior</name>
<email>ariele@broadcom.com</email>
</author>
<published>2012-09-20T05:26:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=185d4c8bf579322e1c2835d70729bc30f6f80f55'/>
<id>185d4c8bf579322e1c2835d70729bc30f6f80f55</id>
<content type='text'>
Since version 7.4 the FW configures in the pci config space the max
number of interrupts available to the physical function, instead of
the exact number to use.
This causes a false warning in driver when comparing the number of
configured interrupts to the number about to be used.

Signed-off-by: Ariel Elior &lt;ariele@broadcom.com&gt;
Signed-off-by: Eilon Greenstein &lt;eilong@broadcom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since version 7.4 the FW configures in the pci config space the max
number of interrupts available to the physical function, instead of
the exact number to use.
This causes a false warning in driver when comparing the number of
configured interrupts to the number about to be used.

Signed-off-by: Ariel Elior &lt;ariele@broadcom.com&gt;
Signed-off-by: Eilon Greenstein &lt;eilong@broadcom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>at91ether: return PTR_ERR if call to clk_get fails</title>
<updated>2012-09-21T02:21:40+00:00</updated>
<author>
<name>Devendra Naga</name>
<email>devendra.aaru@gmail.com</email>
</author>
<published>2012-09-19T21:04:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=3cfc1590107a155218c97df0db3eb0a2bd7fda16'/>
<id>3cfc1590107a155218c97df0db3eb0a2bd7fda16</id>
<content type='text'>
we are currently returning ENODEV, as the clk_get may give a exact
error code in its returned pointer, assign it to the ret by using the
PTR_ERR function, so that the subsequent goto label will jump to the
error path and clean the driver and return the error correctly.

Signed-off-by: Devendra Naga &lt;devendra.aaru@gmail.com&gt;
Acked-by: Nicolas Ferre &lt;nicolas.ferre@atmel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
we are currently returning ENODEV, as the clk_get may give a exact
error code in its returned pointer, assign it to the ret by using the
PTR_ERR function, so that the subsequent goto label will jump to the
error path and clean the driver and return the error correctly.

Signed-off-by: Devendra Naga &lt;devendra.aaru@gmail.com&gt;
Acked-by: Nicolas Ferre &lt;nicolas.ferre@atmel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
