<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in rmnet_map_command.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>9d131d04 - net: qualcomm: rmnet: kill RMNET_MAP_GET_*() accessor macros</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c#9d131d04</link>
        <description>net: qualcomm: rmnet: kill RMNET_MAP_GET_*() accessor macrosThe following macros, defined in &quot;rmnet_map.h&quot;, assume a socketbuffer is provided as an argument without any real indication thisis the case.    RMNET_MAP_GET_MUX_ID()    RMNET_MAP_GET_CD_BIT()    RMNET_MAP_GET_PAD()    RMNET_MAP_GET_CMD_START()    RMNET_MAP_GET_LENGTH()What they hide is pretty trivial accessing of fields in a structure,and it&apos;s much clearer to see this if we do these accesses directly.So rather than using these accessor macros, assign a localvariable of the map header pointer type to the socket buffer datapointer, and derereference that pointer variable.In &quot;rmnet_map_data.c&quot;, use sizeof(object) rather than sizeof(type)in one spot.  Also, there&apos;s no need to byte swap 0; it&apos;s all zerosirrespective of endianness.Signed-off-by: Alex Elder &lt;elder@linaro.org&gt;Reviewed-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;Reviewed-by: Alexander Duyck &lt;alexanderduyck@fb.com&gt;Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

            List of files:
            /linux-6.15/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c</description>
        <pubDate>Mon, 15 Mar 2021 21:51:48 +0000</pubDate>
        <dc:creator>Alex Elder &lt;elder@linaro.org&gt;</dc:creator>
    </item>
<item>
        <title>97fb5e8d - treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c#97fb5e8d</link>
        <description>treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284Based on 1 normalized pattern(s):  this program is free software you can redistribute it and or modify  it under the terms of the gnu general public license version 2 and  only version 2 as published by the free software foundation this  program is distributed in the hope that it will be useful but  without any warranty without even the implied warranty of  merchantability or fitness for a particular purpose see the gnu  general public license for more detailsextracted by the scancode license scanner the SPDX license identifier  GPL-2.0-onlyhas been chosen to replace the boilerplate/reference in 294 file(s).Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;Reviewed-by: Allison Randal &lt;allison@lohutok.net&gt;Reviewed-by: Alexios Zavras &lt;alexios.zavras@intel.com&gt;Cc: linux-spdx@vger.kernel.orgLink: https://lkml.kernel.org/r/20190529141900.825281744@linutronix.deSigned-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c</description>
        <pubDate>Wed, 29 May 2019 14:17:58 +0000</pubDate>
        <dc:creator>Thomas Gleixner &lt;tglx@linutronix.de&gt;</dc:creator>
    </item>
<item>
        <title>315c9e83 - net: qualcomm: rmnet: Remove set but not used variable &apos;cmd&apos;</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c#315c9e83</link>
        <description>net: qualcomm: rmnet: Remove set but not used variable &apos;cmd&apos;Fixes gcc &apos;-Wunused-but-set-variable&apos; warning:drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c: In function &apos;rmnet_map_do_flow_control&apos;:drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c:23:36: warning: variable &apos;cmd&apos; set but not used [-Wunused-but-set-variable]  struct rmnet_map_control_command *cmd;&apos;cmd&apos; not used anymore now, should also be removed.Signed-off-by: YueHaibing &lt;yuehaibing@huawei.com&gt;Acked-by: Subash Abhinov Kasiviswanathan &lt;subashab@codeaurora.org&gt;Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

            List of files:
            /linux-6.15/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c</description>
        <pubDate>Thu, 29 Nov 2018 02:36:32 +0000</pubDate>
        <dc:creator>YueHaibing &lt;yuehaibing@huawei.com&gt;</dc:creator>
    </item>
<item>
        <title>62e3a931 - net: qualcomm: rmnet: remove set but not used variables &apos;ip_family, fc_seq, qos_id&apos;</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c#62e3a931</link>
        <description>net: qualcomm: rmnet: remove set but not used variables &apos;ip_family, fc_seq, qos_id&apos;Fixes gcc &apos;-Wunused-but-set-variable&apos; warning:drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c:26:6: warning: variable &apos;ip_family&apos; set but not used [-Wunused-but-set-variable]drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c:27:6: warning: variable &apos;fc_seq&apos; set but not used [-Wunused-but-set-variable]drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c:28:6: warning: variable &apos;qos_id&apos; set but not used [-Wunused-but-set-variable]It never used since introduction in commitceed73a2cf4a (&quot;drivers: net: ethernet: qualcomm: rmnet: Initial implementation&quot;)Signed-off-by: YueHaibing &lt;yuehaibing@huawei.com&gt;Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

            List of files:
            /linux-6.15/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c</description>
        <pubDate>Wed, 28 Nov 2018 12:31:42 +0000</pubDate>
        <dc:creator>YueHaibing &lt;yuehaibing@huawei.com&gt;</dc:creator>
    </item>
<item>
        <title>3602207c - net: qualcomm: rmnet: Fix use after free while sending command ack</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c#3602207c</link>
        <description>net: qualcomm: rmnet: Fix use after free while sending command ackWhen sending an ack to a command packet, the skb is still referencedafter it is sent to the real device. Since the real device couldfree the skb, the device pointer would be invalid.Also, remove an unnecessary variable.Fixes: ceed73a2cf4a (&quot;drivers: net: ethernet: qualcomm: rmnet: Initial implementation&quot;)Signed-off-by: Subash Abhinov Kasiviswanathan &lt;subashab@codeaurora.org&gt;Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

            List of files:
            /linux-6.15/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c</description>
        <pubDate>Tue, 05 Jun 2018 01:43:38 +0000</pubDate>
        <dc:creator>Subash Abhinov Kasiviswanathan &lt;subashab@codeaurora.org&gt;</dc:creator>
    </item>
<item>
        <title>721ce0f6 - net: qualcomm: rmnet: Remove redundant command check</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c#721ce0f6</link>
        <description>net: qualcomm: rmnet: Remove redundant command checkThe command packet size is already checked once inrmnet_map_deaggregate() for the header, packet and trailer size, sothis additional check is not needed.Signed-off-by: Subash Abhinov Kasiviswanathan &lt;subashab@codeaurora.org&gt;Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

            List of files:
            /linux-6.15/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c</description>
        <pubDate>Wed, 16 May 2018 00:52:02 +0000</pubDate>
        <dc:creator>Subash Abhinov Kasiviswanathan &lt;subashab@codeaurora.org&gt;</dc:creator>
    </item>
<item>
        <title>14452ca3 - net: qualcomm: rmnet: Export mux_id and flags to netlink</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c#14452ca3</link>
        <description>net: qualcomm: rmnet: Export mux_id and flags to netlinkDefine new netlink attributes for rmnet mux_id and flags. Theseflags / mux_id were earlier using vlan flags / id respectively.The flag bits are also moved to uapi and are renamed withprefix RMNET_FLAG_*.Also add the rmnet policy to handle the new netlink attributes.Signed-off-by: Subash Abhinov Kasiviswanathan &lt;subashab@codeaurora.org&gt;Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

            List of files:
            /linux-6.15/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c</description>
        <pubDate>Thu, 22 Mar 2018 01:48:14 +0000</pubDate>
        <dc:creator>Subash Abhinov Kasiviswanathan &lt;subashab@codeaurora.org&gt;</dc:creator>
    </item>
<item>
        <title>9dcaec04 - net: qualcomm: rmnet: Update copyright year to 2018</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c#9dcaec04</link>
        <description>net: qualcomm: rmnet: Update copyright year to 2018Signed-off-by: Subash Abhinov Kasiviswanathan &lt;subashab@codeaurora.org&gt;Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

            List of files:
            /linux-6.15/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c</description>
        <pubDate>Thu, 22 Mar 2018 01:48:12 +0000</pubDate>
        <dc:creator>Subash Abhinov Kasiviswanathan &lt;subashab@codeaurora.org&gt;</dc:creator>
    </item>
<item>
        <title>f57bbaae - net: qualcomm: rmnet: Fix possible null dereference in command processing</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c#f57bbaae</link>
        <description>net: qualcomm: rmnet: Fix possible null dereference in command processingIf a command packet with invalid mux id is received, the packet wouldnot have a valid endpoint. This invalid endpoint maybe dereferencedleading to a crash. Identified by manual code inspection.Fixes: 3352e6c45760 (&quot;net: qualcomm: rmnet: Convert the muxed endpoint to hlist&quot;)Signed-off-by: Subash Abhinov Kasiviswanathan &lt;subashab@codeaurora.org&gt;Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

            List of files:
            /linux-6.15/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c</description>
        <pubDate>Fri, 16 Feb 2018 22:56:39 +0000</pubDate>
        <dc:creator>Subash Abhinov Kasiviswanathan &lt;subashab@codeaurora.org&gt;</dc:creator>
    </item>
<item>
        <title>23c76eb7 - net: qualcomm: rmnet: Handle command packets with checksum trailer</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c#23c76eb7</link>
        <description>net: qualcomm: rmnet: Handle command packets with checksum trailerWhen using the MAPv4 packet format in conjunction with MAP commands,a dummy DL checksum trailer will be appended to the packet. Beforethis packet is sent out as an ACK, the DL checksum trailer needs to beremoved.Signed-off-by: Subash Abhinov Kasiviswanathan &lt;subashab@codeaurora.org&gt;Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

            List of files:
            /linux-6.15/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c</description>
        <pubDate>Sun, 07 Jan 2018 18:36:38 +0000</pubDate>
        <dc:creator>Subash Abhinov Kasiviswanathan &lt;subashab@codeaurora.org&gt;</dc:creator>
    </item>
<item>
        <title>2ffbbf0f - net: qualcomm: rmnet: Fix the return value of rmnet_rx_handler()</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c#2ffbbf0f</link>
        <description>net: qualcomm: rmnet: Fix the return value of rmnet_rx_handler()Since packet is always consumed by rmnet_rx_handler(), we alwaysreturn RX_HANDLER_CONSUMED. There is no need to pass on thisvalue through multiple functions.Signed-off-by: Subash Abhinov Kasiviswanathan &lt;subashab@codeaurora.org&gt;Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

            List of files:
            /linux-6.15/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c</description>
        <pubDate>Thu, 26 Oct 2017 17:06:46 +0000</pubDate>
        <dc:creator>Subash Abhinov Kasiviswanathan &lt;subashab@codeaurora.org&gt;</dc:creator>
    </item>
<item>
        <title>3352e6c4 - net: qualcomm: rmnet: Convert the muxed endpoint to hlist</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c#3352e6c4</link>
        <description>net: qualcomm: rmnet: Convert the muxed endpoint to hlistRather than using a static array, use a hlist to store the muxedendpoints and use the mux id to query the rmnet_device.This is useful as usually very few mux ids are used.Signed-off-by: Subash Abhinov Kasiviswanathan &lt;subashab@codeaurora.org&gt;Cc: Dan Williams &lt;dcbw@redhat.com&gt;Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

            List of files:
            /linux-6.15/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c</description>
        <pubDate>Thu, 12 Oct 2017 00:43:57 +0000</pubDate>
        <dc:creator>Subash Abhinov Kasiviswanathan &lt;subashab@codeaurora.org&gt;</dc:creator>
    </item>
<item>
        <title>b665f4f8 - net: qualcomm: rmnet: Rename real_dev_info to port</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c#b665f4f8</link>
        <description>net: qualcomm: rmnet: Rename real_dev_info to portMake it similar to drivers like ipvlan / macvlan so it is easier to read.Signed-off-by: Subash Abhinov Kasiviswanathan &lt;subashab@codeaurora.org&gt;Cc: Dan Williams &lt;dcbw@redhat.com&gt;Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

            List of files:
            /linux-6.15/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c</description>
        <pubDate>Sun, 03 Sep 2017 05:30:46 +0000</pubDate>
        <dc:creator>Subash Abhinov Kasiviswanathan &lt;subashab@codeaurora.org&gt;</dc:creator>
    </item>
<item>
        <title>ceed73a2 - drivers: net: ethernet: qualcomm: rmnet: Initial implementation</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c#ceed73a2</link>
        <description>drivers: net: ethernet: qualcomm: rmnet: Initial implementationRmNet driver provides a transport agnostic MAP (multiplexing andaggregation protocol) support in embedded module. Module providesvirtual network devices which can be attached to any IP-modephysical device. This will be used to provide all MAP functionalityon future hardware in a single consistent location.Signed-off-by: Subash Abhinov Kasiviswanathan &lt;subashab@codeaurora.org&gt;Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

            List of files:
            /linux-6.15/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c</description>
        <pubDate>Wed, 30 Aug 2017 04:44:18 +0000</pubDate>
        <dc:creator>Subash Abhinov Kasiviswanathan &lt;subashab@codeaurora.org&gt;</dc:creator>
    </item>
</channel>
</rss>
