<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/can/usb, branch linux-3.17.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-12-06T23:57:26Z</updated>
<entry>
<title>can: esd_usb2: fix memory leak on disconnect</title>
<updated>2014-12-06T23:57:26Z</updated>
<author>
<name>Alexey Khoroshilov</name>
</author>
<published>2014-10-10T20:31:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=686fad7a92fecdf8bcffeaa6c726af9d1267ddac'/>
<id>urn:sha1:686fad7a92fecdf8bcffeaa6c726af9d1267ddac</id>
<content type='text'>
commit efbd50d2f62fc1f69a3dcd153e63ba28cc8eb27f upstream.

It seems struct esd_usb2 dev is not deallocated on disconnect. The patch adds
the missing deallocation.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov &lt;khoroshilov@ispras.ru&gt;
Acked-by: Matthias Fuchs &lt;matthias.fuchs@esd.eu&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>can: gs_usb: gs_destroy_candev(): fix use after free</title>
<updated>2014-05-21T11:04:20Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2014-05-21T08:06:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cf68f517c5c5041e3f3de502dccb008ec21f7262'/>
<id>urn:sha1:cf68f517c5c5041e3f3de502dccb008ec21f7262</id>
<content type='text'>
This patch fixes a use after free of "dev" in gs_destroy_candev().

Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: gs_usb: Added support for the GS_USB CAN devices</title>
<updated>2014-05-19T07:38:25Z</updated>
<author>
<name>Maximilian Schneider</name>
</author>
<published>2013-12-24T19:29:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d08e973a77d128b25e01a08c34d89593fdf222da'/>
<id>urn:sha1:d08e973a77d128b25e01a08c34d89593fdf222da</id>
<content type='text'>
The Geschwister Schneider Family of devices are galvanically isolated USB2.0 to
CAN2.0A/B adapters. Currently two form factors are available, a tethered dongle
in a rugged enclosure, and mini-pci-e card.

Signed-off-by: Maximilian Schneider &lt;max@schneidersoft.net&gt;
Acked-by: Wolfgang Grandegger &lt;wg@grandegger.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: usb: Kconfig: Improve help for CAN_KVASER_USB</title>
<updated>2014-04-24T20:54:16Z</updated>
<author>
<name>Olivier Sobrie</name>
</author>
<published>2014-04-10T19:44:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8e964fe21d8186d410353c295df14623a5ed8745'/>
<id>urn:sha1:8e964fe21d8186d410353c295df14623a5ed8745</id>
<content type='text'>
Add two new USB devices supported by the driver and fix bad
english.

Signed-off-by: Olivier Sobrie &lt;olivier@sobrie.be&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: kvaser_usb: add support for Kvaser Leaf v2 and usb mini PCIe</title>
<updated>2014-04-24T20:54:16Z</updated>
<author>
<name>Olivier Sobrie</name>
</author>
<published>2014-04-10T19:44:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b4f20130af23621f0d1e553db0375e7c6cb49c1f'/>
<id>urn:sha1:b4f20130af23621f0d1e553db0375e7c6cb49c1f</id>
<content type='text'>
This patch adds support for the Kvaser Leaf v2 and Leaf usb mini
PCIe card.

Signed-off-by: Olivier Sobrie &lt;olivier@sobrie.be&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: kvaser_usb: add retries/timeout to kvaser_usb_wait_msg()</title>
<updated>2014-04-24T20:54:16Z</updated>
<author>
<name>Olivier Sobrie</name>
</author>
<published>2014-04-10T19:44:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e59e36e7333702d1d835113ced85243bb7f30f99'/>
<id>urn:sha1:e59e36e7333702d1d835113ced85243bb7f30f99</id>
<content type='text'>
On some Kvaser hardware, the firmware returns extra messages after the
request for card info. For instance on a Leaf Light v2:
  --&gt; CMD_GET_CARD_INFO
  &lt;-- CMD_USB_THROTTLE
  &lt;-- CMD_GET_CARD_INFO2
  &lt;-- CMD_GET_CARD_INFO_REQ
When it happens, the probing function fails because we only read
the first usb message.

To overcome this issue, we add a mechanism of retries to the
kvaser_usb_wait_msg() function.

I tested this patch with the following hardware:
 - Kvaser Leaf Light
 - Kvaser Leaf Light v2
 - Kvaser USBCan R

This patch is necessary for the Leaf Light v2 hardware.

Signed-off-by: Olivier Sobrie &lt;olivier@sobrie.be&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>Merge tag 'linux-can-fixes-for-3.15-20140401' of git://gitorious.org/linux-can/linux-can</title>
<updated>2014-04-01T21:49:50Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2014-04-01T21:49:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f91ca783f11029940aa60a9a5aad4dce666e6414'/>
<id>urn:sha1:f91ca783f11029940aa60a9a5aad4dce666e6414</id>
<content type='text'>
linux-can-fixes-for-3.15-20140401

Marc Kleine-Budde says:

====================
this is a pull request of 16 patches for the 3.15 release cycle.

Bjorn Van Tilt contributes a patch which fixes a memory leak in usb_8dev's
usb_8dev_start_xmit()s error path. A patch by Robert Schwebel fixes a typo in
the can documentation. The remaining patches all target the c_can driver. Two
of them are by me; they add a missing netif_napi_del() and return value
checking. Thomas Gleixner contributes 12 patches, which address several
shortcomings in the driver like hardware initialisation, concurrency, message
ordering and poor performance.
====================

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>can: usb_8dev: Fix memory leak in usb_8dev_start_xmit</title>
<updated>2014-04-01T09:54:55Z</updated>
<author>
<name>Bjorn Van Tilt</name>
</author>
<published>2014-03-24T14:32:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=636d0375e7a850c95a0abc2c214295ce06cd2ab4'/>
<id>urn:sha1:636d0375e7a850c95a0abc2c214295ce06cd2ab4</id>
<content type='text'>
Fixed a memory leak when an error occurred in the transmit function. In the
error handling the urb wasn't freed before returning. There was also a call to
the usb_unanchor_urb() function but the urb wasn't anchored.

Signed-off-by: Bjorn Van Tilt &lt;bjorn.vantilt@gmail.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: populate netdev::dev_id for udev discrimination</title>
<updated>2014-03-17T08:20:16Z</updated>
<author>
<name>Christopher R. Baker</name>
</author>
<published>2014-03-08T16:00:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3e66d0138c05d9792f458b96581afdb314bc66d6'/>
<id>urn:sha1:3e66d0138c05d9792f458b96581afdb314bc66d6</id>
<content type='text'>
My objective is to be able to totally discriminate CAN ports on multi-port
cards via udev so as to rename them to semantically interesting/unique names
for my system (e.g., "ecuCAN" and "auxCAN" instead of "can0" and "can1").

The following patch assigns the dev_id field to match the channel number on all
multi-channel devices. I can only test my two-port Peak PCI card, but it works
as expected: ATTRS{dev_id} now expresses the port number and my udev rules now
unambiguously pick out and rename my individual CAN ports.

Signed-off-by: Christopher R. Baker &lt;cbaker@rec.ri.cmu.edu&gt;
Tested-by: Oliver Hartkopp &lt;socketcan@hartkopp.net&gt; [PEAK PCAN-USB pro and EMS PCMCIA]
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: Unify MTU settings for CAN interfaces</title>
<updated>2014-03-17T08:20:16Z</updated>
<author>
<name>Oliver Hartkopp</name>
</author>
<published>2014-03-07T08:23:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c971fa2ae42e73e9ccc2f5e93f268c8742da4c5d'/>
<id>urn:sha1:c971fa2ae42e73e9ccc2f5e93f268c8742da4c5d</id>
<content type='text'>
CAN interfaces only support MTU values of 16 (CAN 2.0) and 72 (CAN FD).
Setting the MTU to other values is pointless but it does not really hurt.
With the introduction of the CAN FD support in drivers/net/can a new
function to switch the MTU for CAN FD has been introduced.

This patch makes use of this can_change_mtu() function to check for correct
MTU settings also in legacy CAN (2.0) devices.

Signed-off-by: Oliver Hartkopp &lt;socketcan@hartkopp.net&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
</feed>
