<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/net, branch v3.18</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v3.18</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v3.18'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2014-12-03T03:57:49Z</updated>
<entry>
<title>cxgb4: Fill in supported link mode for SFP modules</title>
<updated>2014-12-03T03:57:49Z</updated>
<author>
<name>Hariprasad Shenai</name>
<email>hariprasad@chelsio.com</email>
</author>
<published>2014-11-28T13:05:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4c2d518695338801110bc166eece6aa02822b0b4'/>
<id>urn:sha1:4c2d518695338801110bc166eece6aa02822b0b4</id>
<content type='text'>
Signed-off-by: Hariprasad Shenai &lt;hariprasad@chelsio.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>xen-netfront: Remove BUGs on paged skb data which crosses a page boundary</title>
<updated>2014-12-03T03:24:13Z</updated>
<author>
<name>Seth Forshee</name>
<email>seth.forshee@canonical.com</email>
</author>
<published>2014-11-26T02:28:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8d609725d4357f499e2103e46011308b32f53513'/>
<id>urn:sha1:8d609725d4357f499e2103e46011308b32f53513</id>
<content type='text'>
These BUGs can be erroneously triggered by frags which refer to
tail pages within a compound page. The data in these pages may
overrun the hardware page while still being contained within the
compound page, but since compound_order() evaluates to 0 for tail
pages the assertion fails. The code already iterates through
subsequent pages correctly in this scenario, so the BUGs are
unnecessary and can be removed.

Fixes: f36c374782e4 ("xen/netfront: handle compound page fragments on transmit")
Cc: &lt;stable@vger.kernel.org&gt; # 3.7+
Signed-off-by: Seth Forshee &lt;seth.forshee@canonical.com&gt;
Reviewed-by: David Vrabel &lt;david.vrabel@citrix.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sh_eth: Fix sleeping function called from invalid context</title>
<updated>2014-11-30T05:16:54Z</updated>
<author>
<name>Mitsuhiro Kimura</name>
<email>mitsuhiro.kimura.kc@renesas.com</email>
</author>
<published>2014-11-28T01:04:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7fa2955ff70ce4532f144d26b8a087095f9c9ffc'/>
<id>urn:sha1:7fa2955ff70ce4532f144d26b8a087095f9c9ffc</id>
<content type='text'>
This resolves the following bug which can be reproduced by building the
kernel with CONFIG_DEBUG_ATOMIC_SLEEP=y and reading network statistics
while the network interface is down.

e.g.:

ifconfig eth0 down
cat /sys/class/net/eth0/statistics/tx_errors

----
[ 1238.161349] BUG: sleeping function called from invalid context at drivers/base/power/runtime.c:952
[ 1238.188279] in_atomic(): 1, irqs_disabled(): 0, pid: 1388, name: cat
[ 1238.207425] CPU: 0 PID: 1388 Comm: cat Not tainted 3.10.31-ltsi-00046-gefa0b46 #1087
[ 1238.230737] Backtrace:
[ 1238.238123] [&lt;c0012e64&gt;] (dump_backtrace+0x0/0x10c) from [&lt;c0013000&gt;] (show_stack+0x18/0x1c)
[ 1238.263499]  r6:000003b8 r5:c06160c0 r4:c0669e00 r3:00404000
[ 1238.280583] [&lt;c0012fe8&gt;] (show_stack+0x0/0x1c) from [&lt;c04515a4&gt;] (dump_stack+0x20/0x28)
[ 1238.304631] [&lt;c0451584&gt;] (dump_stack+0x0/0x28) from [&lt;c004970c&gt;] (__might_sleep+0xf8/0x118)
[ 1238.329734] [&lt;c0049614&gt;] (__might_sleep+0x0/0x118) from [&lt;c02465ac&gt;] (__pm_runtime_resume+0x38/0x90)
[ 1238.357170]  r7:d616f000 r6:c049c458 r5:00000004 r4:d6a17210
[ 1238.374251] [&lt;c0246574&gt;] (__pm_runtime_resume+0x0/0x90) from [&lt;c029b1c4&gt;] (sh_eth_get_stats+0x44/0x280)
[ 1238.402468]  r7:d616f000 r6:c049c458 r5:d5c21000 r4:d5c21000
[ 1238.419552] [&lt;c029b180&gt;] (sh_eth_get_stats+0x0/0x280) from [&lt;c03ae39c&gt;] (dev_get_stats+0x54/0x88)
[ 1238.446204]  r5:d5c21000 r4:d5ed7e08
[ 1238.456980] [&lt;c03ae348&gt;] (dev_get_stats+0x0/0x88) from [&lt;c03c677c&gt;] (netstat_show.isra.15+0x54/0x9c)
[ 1238.484413]  r6:d5c21000 r5:d5c21238 r4:00000028 r3:00000001
[ 1238.501495] [&lt;c03c6728&gt;] (netstat_show.isra.15+0x0/0x9c) from [&lt;c03c69b8&gt;] (show_tx_errors+0x18/0x1c)
[ 1238.529196]  r7:d5f945d8 r6:d5f945c0 r5:c049716c r4:c0650e7c
[ 1238.546279] [&lt;c03c69a0&gt;] (show_tx_errors+0x0/0x1c) from [&lt;c023963c&gt;] (dev_attr_show+0x24/0x50)
[ 1238.572157] [&lt;c0239618&gt;] (dev_attr_show+0x0/0x50) from [&lt;c010c148&gt;] (sysfs_read_file+0xb0/0x140)
[ 1238.598554]  r5:c049716c r4:d5c21240
[ 1238.609326] [&lt;c010c098&gt;] (sysfs_read_file+0x0/0x140) from [&lt;c00b9ee4&gt;] (vfs_read+0xb0/0x13c)
[ 1238.634679] [&lt;c00b9e34&gt;] (vfs_read+0x0/0x13c) from [&lt;c00ba0ac&gt;] (SyS_read+0x44/0x74)
[ 1238.657944]  r8:bef45bf0 r7:00000000 r6:d6ac0600 r5:00000000 r4:00000000
[ 1238.678172] [&lt;c00ba068&gt;] (SyS_read+0x0/0x74) from [&lt;c000eec0&gt;] (ret_fast_syscall+0x0/0x30)
----

Signed-off-by: Mitsuhiro Kimura &lt;mitsuhiro.kimura.kc@renesas.com&gt;
Signed-off-by: Yoshihiro Kaneko &lt;ykaneko0929@gmail.com&gt;
Signed-off-by: Simon Horman &lt;horms+renesas@verge.net.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>stmmac: platform: Move plat_dat checking earlier</title>
<updated>2014-11-30T05:11:16Z</updated>
<author>
<name>Huacai Chen</name>
<email>chenhc@lemote.com</email>
</author>
<published>2014-11-27T13:05:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=28603d13997e2ef47f18589cc9a44553aad49c86'/>
<id>urn:sha1:28603d13997e2ef47f18589cc9a44553aad49c86</id>
<content type='text'>
Original code only check/alloc plat_dat for the CONFIG_OF case, this
patch check/alloc it earlier and unconditionally to avoid kernel build
warnings:

drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:275
stmmac_pltfr_probe() warn: variable dereferenced before check 'plat_dat'

V2: Fix coding style.

Signed-off-by: Huacai Chen &lt;chenhc@lemote.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sh_eth: Fix skb alloc size and alignment adjust rule.</title>
<updated>2014-11-30T05:09:38Z</updated>
<author>
<name>Mitsuhiro Kimura</name>
<email>mitsuhiro.kimura.kc@renesas.com</email>
</author>
<published>2014-11-27T11:34:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4d6a949c62f123569fb355b6ec7f314b76f93735'/>
<id>urn:sha1:4d6a949c62f123569fb355b6ec7f314b76f93735</id>
<content type='text'>
In the current driver, allocation size of skb does not care the alignment
adjust after allocation.
And also, in the current implementation, buffer alignment method by
sh_eth_set_receive_align function has a bug that this function displace
buffer start address forcedly when the alignment is corrected.
In the result, tail of the skb will exceed allocated area and kernel panic
will be occurred.
This patch fix this issue.

Signed-off-by: Mitsuhiro Kimura &lt;mitsuhiro.kimura.kc@renesas.com&gt;
Signed-off-by: Yoshihiro Kaneko &lt;ykaneko0929@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bond: Check length of IFLA_BOND_ARP_IP_TARGET attributes</title>
<updated>2014-11-30T04:46:32Z</updated>
<author>
<name>Thomas Graf</name>
<email>tgraf@suug.ch</email>
</author>
<published>2014-11-26T23:22:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f6c6fda4c9e17940b0a2ba206b0408babfdc930c'/>
<id>urn:sha1:f6c6fda4c9e17940b0a2ba206b0408babfdc930c</id>
<content type='text'>
Fixes: 7f28fa10 ("bonding: add arp_ip_target netlink support")
Reported-by: John Fastabend &lt;john.fastabend@gmail.com&gt;
Cc: Scott Feldman &lt;sfeldma@cumulusnetworks.com&gt;
Signed-off-by: Thomas Graf &lt;tgraf@suug.ch&gt;
Acked-by: John Fastabend &lt;john.r.fastabend@intel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Merge tag 'master-2014-11-25' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless</title>
<updated>2014-11-26T21:38:35Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2014-11-26T21:38:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d1c637c51d87e021c12ed66baddf6cfbd11a3e2b'/>
<id>urn:sha1:d1c637c51d87e021c12ed66baddf6cfbd11a3e2b</id>
<content type='text'>
John W. Linville says:

====================
pull request: wireless 2014-11-26

Please pull this little batch of fixes intended for the 3.18 stream...

For the iwlwifi one, Emmanuel says:

"Not all the firmware know how to handle the HOT_SPOT_CMD.
Make sure that the firmware will know this command before
sending it. This avoids a firmware crash."

Along with that, Larry sends a pair of rtlwifi fixes to address some
discrepancies from moving drivers out of staging.  Larry says:

"These two patches are needed to fix a regression introduced when
driver rtl8821ae was moved from staging to the regular wireless tree."

Please let me know if there are problems!
====================

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: Check for presence of IFLA_AF_SPEC</title>
<updated>2014-11-26T20:29:01Z</updated>
<author>
<name>Thomas Graf</name>
<email>tgraf@suug.ch</email>
</author>
<published>2014-11-26T12:42:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4ea85e831e290cd967d161c66d0a3cf8be39f1f6'/>
<id>urn:sha1:4ea85e831e290cd967d161c66d0a3cf8be39f1f6</id>
<content type='text'>
ndo_bridge_setlink() is currently only called on the slave if
IFLA_AF_SPEC is set but this is a very fragile assumption and may
change in the future.

Cc: Ajit Khaparde &lt;ajit.khaparde@emulex.com&gt;
Cc: John Fastabend &lt;john.r.fastabend@intel.com&gt;
Signed-off-by: Thomas Graf &lt;tgraf@suug.ch&gt;
Acked-by: Jeff Kirsher &lt;jeffrey.t.kirsher@intel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: Validate IFLA_BRIDGE_MODE attribute length</title>
<updated>2014-11-26T20:29:00Z</updated>
<author>
<name>Thomas Graf</name>
<email>tgraf@suug.ch</email>
</author>
<published>2014-11-26T12:42:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b7c1a314112785c319b2ba2dc8e73497714e42a1'/>
<id>urn:sha1:b7c1a314112785c319b2ba2dc8e73497714e42a1</id>
<content type='text'>
Payload is currently accessed blindly and may exceed valid message
boundaries.

Fixes: a77dcb8c8 ("be2net: set and query VEB/VEPA mode of the PF interface")
Fixes: 815cccbf1 ("ixgbe: add setlink, getlink support to ixgbe and ixgbevf")
Cc: Ajit Khaparde &lt;ajit.khaparde@emulex.com&gt;
Cc: John Fastabend &lt;john.r.fastabend@intel.com&gt;
Signed-off-by: Thomas Graf &lt;tgraf@suug.ch&gt;
Acked-by: Jeff Kirsher &lt;jeffrey.t.kirsher@intel.com&gt;
Acked-by: John Fastabend &lt;john.r.fastabend@intel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>stmmac: platform: fix default values of the filter bins setting</title>
<updated>2014-11-26T17:28:45Z</updated>
<author>
<name>Huacai Chen</name>
<email>chenhc@lemote.com</email>
</author>
<published>2014-11-26T02:38:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=571dcfde23712b92e45a126f415d9424af0c2886'/>
<id>urn:sha1:571dcfde23712b92e45a126f415d9424af0c2886</id>
<content type='text'>
The commit 3b57de958e2a brought the support for a different amount of
the filter bins, but didn't update the platform driver that without
CONFIG_OF.

Fixes: 3b57de958e2a (net: stmmac: Support devicetree configs for mcast
and ucast filter entries)

Signed-off-by: Huacai Chen &lt;chenhc@lemote.com&gt;
Acked-by: Giuseppe Cavallaro &lt;peppe.cavallaro@st.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
