<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/git/stable/linux.git/drivers/net/usb, branch linux-2.6.31.y</title>
<subtitle>Linux kernel stable tree</subtitle>
<id>https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=linux-2.6.31.y</id>
<link rel='self' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=linux-2.6.31.y'/>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/'/>
<updated>2010-01-06T22:26:25+00:00</updated>
<entry>
<title>drivers/net/usb: Correct code taking the size of a pointer</title>
<updated>2010-01-06T22:26:25+00:00</updated>
<author>
<name>Julia Lawall</name>
<email>julia@diku.dk</email>
</author>
<published>2009-12-13T05:47:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=cf95a4b52defc0daf910a71f76e5f647eb28bd1d'/>
<id>urn:sha1:cf95a4b52defc0daf910a71f76e5f647eb28bd1d</id>
<content type='text'>
commit 6057912d7baad31be9819518674ffad349a065b1 upstream.

sizeof(dev-&gt;dev_addr) is the size of a pointer.  A few lines above, the
size of this field is obtained using netdev-&gt;addr_len for a call to memcpy,
so do the same here.

A simplified version of the semantic patch that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// &lt;smpl&gt;
@@
expression *x;
expression f;
type T;
@@

*f(...,(T)x,...)
// &lt;/smpl&gt;

Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>hso: fix soft-lockup</title>
<updated>2009-12-08T18:22:27+00:00</updated>
<author>
<name>Antti Kaijanmäki</name>
<email>antti.kaijanmaki@nomovok.com</email>
</author>
<published>2009-11-23T18:54:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=bb969fdc8c7e7675266a3697ad93945428fd89d6'/>
<id>urn:sha1:bb969fdc8c7e7675266a3697ad93945428fd89d6</id>
<content type='text'>
commit dcfcb256cc23c4436691b0fe677275306699d6a1 upstream.

Fix soft-lockup in hso.c which is triggered on SMP machine when
modem is removed while file descriptor(s) under /dev are still open:

  old version called kref_put() too early which resulted in destroying
  hso_serial and hso_device objects which were still used later on.

Signed-off-by: Antti Kaijanmäki &lt;antti.kaijanmaki@nomovok.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

</content>
</entry>
<entry>
<title>smsc95xx: fix transmission where ZLP is expected</title>
<updated>2009-10-12T19:40:28+00:00</updated>
<author>
<name>Steve Glendinning</name>
<email>steve.glendinning@smsc.com</email>
</author>
<published>2009-09-22T04:00:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=fe13bc44dae6452f49493ceb3cff40d85839b7ea'/>
<id>urn:sha1:fe13bc44dae6452f49493ceb3cff40d85839b7ea</id>
<content type='text'>
[ Upstream commit ec4756238239f1a331d9fb95bad8b281dad56855 ]

Usbnet framework assumes USB hardware doesn't handle zero length
packets, but SMSC LAN95xx requires these to be sent for correct
operation.

This patch fixes an easily reproducible tx lockup when sending a frame
that results in exactly 512 bytes in a USB transmission (e.g. a UDP
frame with 458 data bytes, due to IP headers and our USB headers).  It
adds an extra flag to usbnet for the hardware driver to indicate that
it can handle and requires the zero length packets.

This patch should not affect other usbnet users, please also consider
for -stable.

Signed-off-by: Steve Glendinning &lt;steve.glendinning@smsc.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>kaweth: Fix memory leak in kaweth_control()</title>
<updated>2009-10-05T16:31:58+00:00</updated>
<author>
<name>Kevin Cernekee</name>
<email>cernekee@gmail.com</email>
</author>
<published>2009-09-19T11:18:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=566198152269f6aa1ed8735f7a857bf51b0f6007'/>
<id>urn:sha1:566198152269f6aa1ed8735f7a857bf51b0f6007</id>
<content type='text'>
commit 051b982bcc620695de629d29c333c95b66e9b95e upstream.

kaweth_control() never frees the buffer that it allocates for the USB
control message.  Test case:

while :; do ifconfig eth2 down ; ifconfig eth2 up ; done

This is a tiny buffer so it is a slow leak.  If you want to speed up the
process, you can change the allocation size to e.g. 16384 bytes, and it
will consume several megabytes within a few minutes.

Signed-off-by: Kevin Cernekee &lt;cernekee@gmail.com&gt;
Acked-by: Oliver Neukum &lt;oliver@neukum.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>pegasus: Add new device ID.</title>
<updated>2009-08-14T23:41:17+00:00</updated>
<author>
<name>Petko Manolov</name>
<email>petkan@nucleusys.com</email>
</author>
<published>2009-08-14T06:40:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7c1d15d736687057f4dc6e51fbf44b6f6e4320cb'/>
<id>urn:sha1:7c1d15d736687057f4dc6e51fbf44b6f6e4320cb</id>
<content type='text'>
Add new definition to 'pegasus.h' for support Japanese IO DATA
"ETX-US2" USB Ethernet Adapter.

PEGASUS_DEV( $B!H(BIO DATA USB ETX-US2$B!I(B, VENDOR_IODATA, 0x092a,
DEFAULT_GPIO_RESET | PEGASUS_II )

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>USB host CDC Phonet network interface driver</title>
<updated>2009-07-21T19:40:39+00:00</updated>
<author>
<name>Rémi Denis-Courmont</name>
<email>remi.denis-courmont@nokia.com</email>
</author>
<published>2009-07-21T01:58:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=87cf65601e1709e57f7e28f0f7b3eb0a992c1782'/>
<id>urn:sha1:87cf65601e1709e57f7e28f0f7b3eb0a992c1782</id>
<content type='text'>
Many Nokia handsets support a Phonet interface to the cellular modem
via a vendor-specific USB interface. CDC Phonet follows the
Communications Device Class model, with one control interface, and
and a pair of inactive and active data alternative interface. The later
has two bulk endpoint, one per direction.

This was tested against Nokia E61, Nokia N95, and the existing Phonet
gadget function for the Linux composite USB gadget framework.

Signed-off-by: Rémi Denis-Courmont &lt;remi.denis-courmont@nokia.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>cdc-eem: bad crc checking</title>
<updated>2009-07-17T01:06:25+00:00</updated>
<author>
<name>Vincent CUISSARD</name>
<email>vincent.cuissard@gmail.com</email>
</author>
<published>2009-07-16T06:08:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7fefe6a88494b00b151b5ca7bb84daaa781bbca7'/>
<id>urn:sha1:7fefe6a88494b00b151b5ca7bb84daaa781bbca7</id>
<content type='text'>
When the driver received an EEM packet with CRC option enabled, driver must
compute and check the CRC of the Ethernet data. Previous version computes CRC
on Ethernet data plus the original CRC value. Skbuff is correctly trimed but
the old length is used when CRC is computed.

Signed-off-by: Vincent CUISSARD &lt;vincent.cuissard@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>netdev: restore MTU change operation</title>
<updated>2009-07-12T21:20:04+00:00</updated>
<author>
<name>Ben Hutchings</name>
<email>ben@decadent.org.uk</email>
</author>
<published>2009-07-09T17:59:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=635ecaa70e862f85f652581305fe0074810893be'/>
<id>urn:sha1:635ecaa70e862f85f652581305fe0074810893be</id>
<content type='text'>
alloc_etherdev() used to install a default implementation of this
operation, but it must now be explicitly installed in struct
net_device_ops.

Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>netdev: restore MAC address set and validate operations</title>
<updated>2009-07-12T21:20:02+00:00</updated>
<author>
<name>Ben Hutchings</name>
<email>ben@decadent.org.uk</email>
</author>
<published>2009-07-09T17:54:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=240c102d9c54fee7fdc87a4ef2fabc7eb539e00a'/>
<id>urn:sha1:240c102d9c54fee7fdc87a4ef2fabc7eb539e00a</id>
<content type='text'>
alloc_etherdev() used to install default implementations of these
operations, but they must now be explicitly installed in struct
net_device_ops.

Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>usbnet: Use netdev stats structure</title>
<updated>2009-07-01T02:46:48+00:00</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2009-06-29T16:53:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7963837f933df8a8ada56fa8f8205ebab40f84d0'/>
<id>urn:sha1:7963837f933df8a8ada56fa8f8205ebab40f84d0</id>
<content type='text'>
Now that netdev has its own stats structure we should use that
instead.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
