]> git.itanic.dy.fi Git - linux-stable/commit
net: qualcomm: rmnet: Allow configuration updates to existing devices
authorSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Wed, 1 Apr 2020 21:23:55 +0000 (15:23 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Apr 2020 14:12:09 +0000 (16:12 +0200)
commitf8fab215e4b20d2a3540c9886d29c4f42ee48037
treedffc8c98a529e8e9b2ff889875e2c9e76a543aeb
parent90336f187ab4f0e6695805b2435c4744911266ed
net: qualcomm: rmnet: Allow configuration updates to existing devices

commit 2abb5792387eb188b12051337d5dcd2cba615cb0 upstream.

This allows the changelink operation to succeed if the mux_id was
specified as an argument. Note that the mux_id must match the
existing mux_id of the rmnet device or should be an unused mux_id.

Fixes: 1dc49e9d164c ("net: rmnet: do not allow to change mux id if mux id is duplicated")
Reported-and-tested-by: Alex Elder <elder@linaro.org>
Signed-off-by: Sean Tranchetti <stranche@codeaurora.org>
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c