<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/net, branch v3.1</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/net?h=v3.1</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/net?h=v3.1'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2011-10-19T22:48:17Z</updated>
<entry>
<title>r8169: fix wrong eee setting for rlt8111evl</title>
<updated>2011-10-19T22:48:17Z</updated>
<author>
<name>hayeswang</name>
<email>hayeswang@realtek.com</email>
</author>
<published>2011-10-13T20:14:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1b23a3e3d1b969e285c57a2d38f3739283ecfb80'/>
<id>urn:sha1:1b23a3e3d1b969e285c57a2d38f3739283ecfb80</id>
<content type='text'>
Correct the wrong parameter for setting EEE for RTL8111E-VL.

Signed-off-by: Hayes Wang &lt;hayeswang@realtek.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>r8169: fix driver shutdown WoL regression.</title>
<updated>2011-10-19T21:08:21Z</updated>
<author>
<name>françois romieu</name>
<email>romieu@fr.zoreil.com</email>
</author>
<published>2011-10-14T00:57:45Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=649b3b8c4e8681de443b4dc9e387c3036369e02e'/>
<id>urn:sha1:649b3b8c4e8681de443b4dc9e387c3036369e02e</id>
<content type='text'>
Due to commit 92fc43b4159b518f5baae57301f26d770b0834c9 ("r8169: modify the
flow of the hw reset."), rtl8169_hw_reset stomps during driver shutdown on
RxConfig bits which are needed for WOL on some versions of the hardware.

As these bits were formerly set from the r81{0x, 68}_pll_power_down methods,
factor them out for use in the driver shutdown (rtl_shutdown) handler.

I favored __rtl8169_get_wol() -hardware state indication- over
RTL_FEATURE_WOL as the latter has become a good candidate for removal.

Signed-off-by: Francois Romieu &lt;romieu@fr.zoreil.com&gt;
Cc: Hayes &lt;hayeswang@realtek.com&gt;
Tested-by: Marc Ballarin &lt;ballarin.marc@gmx.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>pptp: pptp_rcv_core() misses pskb_may_pull() call</title>
<updated>2011-10-19T07:50:43Z</updated>
<author>
<name>Eric Dumazet</name>
<email>eric.dumazet@gmail.com</email>
</author>
<published>2011-10-17T17:59:53Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4ea2739ea89883ddf79980a8aa27d5e57093e464'/>
<id>urn:sha1:4ea2739ea89883ddf79980a8aa27d5e57093e464</id>
<content type='text'>
e1000e uses paged frags, so any layer incorrectly pulling bytes from skb
can trigger a BUG in skb_pull()

[951.142737]  [&lt;ffffffff813d2f36&gt;] skb_pull+0x15/0x17
[951.142737]  [&lt;ffffffffa0286824&gt;] pptp_rcv_core+0x126/0x19a [pptp]
[951.152725]  [&lt;ffffffff813d17c4&gt;] sk_receive_skb+0x69/0x105
[951.163558]  [&lt;ffffffffa0286993&gt;] pptp_rcv+0xc8/0xdc [pptp]
[951.165092]  [&lt;ffffffffa02800a3&gt;] gre_rcv+0x62/0x75 [gre]
[951.165092]  [&lt;ffffffff81410784&gt;] ip_local_deliver_finish+0x150/0x1c1
[951.177599]  [&lt;ffffffff81410634&gt;] ? ip_local_deliver_finish+0x0/0x1c1
[951.177599]  [&lt;ffffffff81410846&gt;] NF_HOOK.clone.7+0x51/0x58
[951.177599]  [&lt;ffffffff81410996&gt;] ip_local_deliver+0x51/0x55
[951.177599]  [&lt;ffffffff814105b9&gt;] ip_rcv_finish+0x31a/0x33e
[951.177599]  [&lt;ffffffff8141029f&gt;] ? ip_rcv_finish+0x0/0x33e
[951.204898]  [&lt;ffffffff81410846&gt;] NF_HOOK.clone.7+0x51/0x58
[951.214651]  [&lt;ffffffff81410bb5&gt;] ip_rcv+0x21b/0x246

pptp_rcv_core() is a nice example of a function assuming everything it
needs is available in skb head.

Reported-by: Bradley Peterson &lt;despite@gmail.com&gt;
Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>pptp: fix skb leak in pptp_xmit()</title>
<updated>2011-10-19T06:39:43Z</updated>
<author>
<name>Eric Dumazet</name>
<email>eric.dumazet@gmail.com</email>
</author>
<published>2011-10-17T17:01:47Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8bae8bd6cb24eecad9fda3e125d36ab9c67d3fd7'/>
<id>urn:sha1:8bae8bd6cb24eecad9fda3e125d36ab9c67d3fd7</id>
<content type='text'>
In case we cant transmit skb, we must free it

Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
CC: Dmitry Kozlov &lt;xeb@mail.ru&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bonding: use local function pointer of bond-&gt;recv_probe in bond_handle_frame</title>
<updated>2011-10-19T04:14:22Z</updated>
<author>
<name>Mitsuo Hayasaka</name>
<email>mitsuo.hayasaka.hu@hitachi.com</email>
</author>
<published>2011-10-12T16:04:29Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4d97480b1806e883eb1c7889d4e7a87e936e06d9'/>
<id>urn:sha1:4d97480b1806e883eb1c7889d4e7a87e936e06d9</id>
<content type='text'>
The bond-&gt;recv_probe is called in bond_handle_frame() when
a packet is received, but bond_close() sets it to NULL. So,
a panic occurs when both functions work in parallel.

Why this happen:
After null pointer check of bond-&gt;recv_probe, an sk_buff is
duplicated and bond-&gt;recv_probe is called in bond_handle_frame.
So, a panic occurs when bond_close() is called between the
check and call of bond-&gt;recv_probe.

Patch:
This patch uses a local function pointer of bond-&gt;recv_probe
in bond_handle_frame(). So, it can avoid the null pointer
dereference.

Signed-off-by: Mitsuo Hayasaka &lt;mitsuo.hayasaka.hu@hitachi.com&gt;
Cc: Jay Vosburgh &lt;fubar@us.ibm.com&gt;
Cc: Andy Gospodarek &lt;andy@greyhouse.net&gt;
Cc: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Cc: WANG Cong &lt;xiyou.wangcong@gmail.com&gt;
Acked-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>smsc911x: Add support for SMSC LAN89218</title>
<updated>2011-10-19T04:01:01Z</updated>
<author>
<name>Phil Edworthy</name>
<email>PHIL.EDWORTHY@renesas.com</email>
</author>
<published>2011-10-12T02:29:39Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=28c213793c994e4aac5f669ce856b5682a549bbb'/>
<id>urn:sha1:28c213793c994e4aac5f669ce856b5682a549bbb</id>
<content type='text'>
LAN89218 is register compatible with LAN911x.

Signed-off-by: Phil Edworthy &lt;phil.edworthy@renesas.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>tg3: negate USE_PHYLIB flag check</title>
<updated>2011-10-19T03:59:33Z</updated>
<author>
<name>Jiri Pirko</name>
<email>jpirko@redhat.com</email>
</author>
<published>2011-10-11T23:00:41Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e730c82347b9dc75914da998c44c3f348965db41'/>
<id>urn:sha1:e730c82347b9dc75914da998c44c3f348965db41</id>
<content type='text'>
USE_PHYLIB flag in tg3_remove_one() is being checked incorrectly. This
results tg3_phy_fini-&gt;phy_disconnect is never called and when tg3 module
is removed.

In my case this resulted in panics in phy_state_machine calling function
phydev-&gt;adjust_link.

So correct this check.

Signed-off-by: Jiri Pirko &lt;jpirko@redhat.com&gt;
Acked-by: Matt Carlson &lt;mcarlson@broadcom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>netconsole: enable netconsole can make net_device refcnt incorrent</title>
<updated>2011-10-19T03:55:29Z</updated>
<author>
<name>Gao feng</name>
<email>gaofeng@cn.fujitsu.com</email>
</author>
<published>2011-10-11T16:08:11Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d5123480b1d6f7d1a5fe1a13520cef88fb5d4c84'/>
<id>urn:sha1:d5123480b1d6f7d1a5fe1a13520cef88fb5d4c84</id>
<content type='text'>
There is no check if netconsole is enabled current.
so when exec echo 1 &gt; enabled;
the reference of net_device will increment always.

Signed-off-by: Gao feng &lt;gaofeng@cn.fujitsu.com&gt;
Acked-by: Flavio Leitner &lt;fbl@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mscan: too much data copied to CAN frame due to 16 bit accesses</title>
<updated>2011-10-10T18:31:00Z</updated>
<author>
<name>Wolfgang Grandegger</name>
<email>wg@grandegger.com</email>
</author>
<published>2011-10-07T09:28:14Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a3a4bfde8a271df7ee56fcf31b8d907d50e7f216'/>
<id>urn:sha1:a3a4bfde8a271df7ee56fcf31b8d907d50e7f216</id>
<content type='text'>
Due to the 16 bit access to mscan registers there's too much data copied to
the zero initialized CAN frame when having an odd number of bytes to copy.
This patch ensures that only the requested bytes are copied by using an
8 bit access for the remaining byte.

Reported-by: Andre Naujoks &lt;nautsch@gmail.com&gt;
Signed-off-by: Oliver Hartkopp &lt;socketcan@hartkopp.net&gt;
Signed-off-by: Wolfgang Grandegger &lt;wg@grandegger.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bnx2x: fix cl_id allocation for non-eth clients for NPAR mode</title>
<updated>2011-10-10T18:21:26Z</updated>
<author>
<name>Dmitry Kravkov</name>
<email>dmitry@broadcom.com</email>
</author>
<published>2011-10-09T23:57:36Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=134d0f974c55c942541f1663d51fa846257eff2a'/>
<id>urn:sha1:134d0f974c55c942541f1663d51fa846257eff2a</id>
<content type='text'>
There are some consolidations of NPAR configuration
when FCoE and iSCSI L2 clients will get the same id,
in this case FCoE ring will be non-functional.

Signed-off-by: Dmitry Kravkov &lt;dmitry@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>
</entry>
</feed>
