<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/staging/most/net, branch master</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=master</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2026-02-23T14:01:43Z</updated>
<entry>
<title>staging: most: net: remove unused header include</title>
<updated>2026-02-23T14:01:43Z</updated>
<author>
<name>Rajveer Chaudhari</name>
<email>rajveer.chaudhari.linux@gmail.com</email>
</author>
<published>2026-02-10T16:48:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d289635eb0f197ad22851e393cebd1e772ebdd89'/>
<id>urn:sha1:d289635eb0f197ad22851e393cebd1e772ebdd89</id>
<content type='text'>
Remove unused header include from net.c to
reduce unnecessary dependencies and improve compilation time.

Signed-off-by: Rajveer Chaudhari &lt;rajveer.chaudhari.linux@gmail.com&gt;
Link: https://patch.msgid.link/20260210164841.118503-1-rajveer.chaudhari.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: most: net: Make use of the helper macro LIST_HEAD()</title>
<updated>2022-02-15T16:05:34Z</updated>
<author>
<name>Cai Huoqing</name>
<email>cai.huoqing@linux.dev</email>
</author>
<published>2022-02-09T03:26:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b7b3c35e8791ca77dec16f35a6c6a84b5922ecc2'/>
<id>urn:sha1:b7b3c35e8791ca77dec16f35a6c6a84b5922ecc2</id>
<content type='text'>
Replace "struct list_head head = LIST_HEAD_INIT(head)" with
"LIST_HEAD(head)" to simplify the code.

Signed-off-by: Cai Huoqing &lt;cai.huoqing@linux.dev&gt;
Link: https://lore.kernel.org/r/20220209032645.38305-1-cai.huoqing@linux.dev
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: use eth_hw_addr_set() instead of ether_addr_copy()</title>
<updated>2021-10-20T17:33:58Z</updated>
<author>
<name>Jakub Kicinski</name>
<email>kuba@kernel.org</email>
</author>
<published>2021-10-19T17:12:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=349f631da4e1bdcb1b4a2a3ee630d689bfe6724d'/>
<id>urn:sha1:349f631da4e1bdcb1b4a2a3ee630d689bfe6724d</id>
<content type='text'>
Commit 406f42fa0d3c ("net-next: When a bond have a massive amount
of VLANs...") introduced a rbtree for faster Ethernet address look
up. To maintain netdev-&gt;dev_addr in this tree we need to make all
the writes to it got through appropriate helpers.

Convert staging from ether_addr_copy() to eth_hw_addr_set():

  @@
  expression dev, np;
  @@
  - ether_addr_copy(dev-&gt;dev_addr, np)
  + eth_hw_addr_set(dev, np)

Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
Link: https://lore.kernel.org/r/20211019171243.1412240-3-kuba@kernel.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: most: net: Fix some kernel-doc formatting issues</title>
<updated>2021-05-10T09:19:25Z</updated>
<author>
<name>Lee Jones</name>
<email>lee.jones@linaro.org</email>
</author>
<published>2021-04-14T18:10:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2f61c6649f470b094f32586872e95648410e38f0'/>
<id>urn:sha1:2f61c6649f470b094f32586872e95648410e38f0</id>
<content type='text'>
Fixes the following W=1 kernel build warning(s):

 drivers/staging/most/net/net.c:548: warning: Function parameter or member 'iface' not described in 'on_netinfo'
 drivers/staging/most/net/net.c:548: warning: Function parameter or member 'link_stat' not described in 'on_netinfo'
 drivers/staging/most/net/net.c:548: warning: Function parameter or member 'mac_addr' not described in 'on_netinfo'

Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Cc: Andrey Shvetsov &lt;andrey.shvetsov@k2l.de&gt;
Cc: linux-staging@lists.linux.dev
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Link: https://lore.kernel.org/r/20210414181129.1628598-27-lee.jones@linaro.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: most: net: use DEFINE_MUTEX() for mutex lock</title>
<updated>2020-12-28T14:09:28Z</updated>
<author>
<name>Zheng Yongjun</name>
<email>zhengyongjun3@huawei.com</email>
</author>
<published>2020-12-24T13:25:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6abeae2adc96a2d6eb1973b221e40cc776557197'/>
<id>urn:sha1:6abeae2adc96a2d6eb1973b221e40cc776557197</id>
<content type='text'>
mutex lock can be initialized automatically with DEFINE_MUTEX()
rather than explicitly calling mutex_init().

Signed-off-by: Zheng Yongjun &lt;zhengyongjun3@huawei.com&gt;
Link: https://lore.kernel.org/r/20201224132519.31504-1-zhengyongjun3@huawei.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: most: Use %pM format specifier for MAC addresses</title>
<updated>2020-07-31T07:47:45Z</updated>
<author>
<name>Andy Shevchenko</name>
<email>andriy.shevchenko@linux.intel.com</email>
</author>
<published>2020-07-30T15:15:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=11c416e3f0ea437661514fa68967a5dba3cdf886'/>
<id>urn:sha1:11c416e3f0ea437661514fa68967a5dba3cdf886</id>
<content type='text'>
Convert to %pM instead of using custom code.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Link: https://lore.kernel.org/r/20200730151506.38827-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: most: move core files out of the staging area</title>
<updated>2020-03-24T12:42:44Z</updated>
<author>
<name>Christian Gromm</name>
<email>christian.gromm@microchip.com</email>
</author>
<published>2020-03-10T13:02:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b276527539188f1f61c082ebef27803db93e536d'/>
<id>urn:sha1:b276527539188f1f61c082ebef27803db93e536d</id>
<content type='text'>
This patch moves the core module to the /drivers/most directory
and makes all necessary changes in order to not break the build.

Signed-off-by: Christian Gromm &lt;christian.gromm@microchip.com&gt;
Link: https://lore.kernel.org/r/1583845362-26707-2-git-send-email-christian.gromm@microchip.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: most: net: fix buffer overflow</title>
<updated>2020-01-22T08:51:15Z</updated>
<author>
<name>Andrey Shvetsov</name>
<email>andrey.shvetsov@k2l.de</email>
</author>
<published>2020-01-16T17:22:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4d1356ac12f4d5180d0df345d85ff0ee42b89c72'/>
<id>urn:sha1:4d1356ac12f4d5180d0df345d85ff0ee42b89c72</id>
<content type='text'>
If the length of the socket buffer is 0xFFFFFFFF (max size for an
unsigned int), then payload_len becomes 0xFFFFFFF1 after subtracting 14
(ETH_HLEN).  Then, mdp_len is set to payload_len + 16 (MDP_HDR_LEN)
which overflows and results in a value of 2.  These values for
payload_len and mdp_len will pass current buffer size checks.

This patch checks if derived from skb-&gt;len sum may overflow.

The check is based on the following idea:

For any `unsigned V1, V2` and derived `unsigned SUM = V1 + V2`,
`V1 + V2` overflows iif `SUM &lt; V1`.

Reported-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: Andrey Shvetsov &lt;andrey.shvetsov@k2l.de&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
Link: https://lore.kernel.org/r/20200116172238.6046-1-andrey.shvetsov@microchip.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: most: remove header include path to drivers/staging</title>
<updated>2020-01-16T19:56:31Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>masahiroy@kernel.org</email>
</author>
<published>2020-01-15T16:44:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=532c29190795178bb02d2671b5e8a288c16a4649'/>
<id>urn:sha1:532c29190795178bb02d2671b5e8a288c16a4649</id>
<content type='text'>
There is no need to add "ccflags-y += -I $(srctree)/drivers/staging"
just for including &lt;most/most.h&gt;.

Use the #include "..." directive with the correct relative path.

Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;
Link: https://lore.kernel.org/r/20200115164451.13203-1-masahiroy@kernel.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: most: use angle brackets in include path</title>
<updated>2019-12-17T12:58:31Z</updated>
<author>
<name>Christian Gromm</name>
<email>christian.gromm@microchip.com</email>
</author>
<published>2019-12-13T12:04:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6f4d22d76baa73c5bc99d669d68c862b60a04a3d'/>
<id>urn:sha1:6f4d22d76baa73c5bc99d669d68c862b60a04a3d</id>
<content type='text'>
This patch replaces the double quotes in all include paths
with angle brackets.

Signed-off-by: Christian Gromm &lt;christian.gromm@microchip.com&gt;
Link: https://lore.kernel.org/r/1576238662-16512-7-git-send-email-christian.gromm@microchip.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
