]> git.baikalelectronics.ru Git - kernel.git/commit
net: qualcomm: rmnet: Allow partial updates of IFLA_FLAGS
authorBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 15 Jun 2021 23:27:07 +0000 (18:27 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jun 2021 19:16:22 +0000 (12:16 -0700)
commit887c406a92b69c9d86f28a5adf82077504d79629
treed09eb61709d592d9da491d94a55bf9959b16b073
parent83961f6d5e4f13153770f23742e494aad53b5af2
net: qualcomm: rmnet: Allow partial updates of IFLA_FLAGS

The idiomatic way to handle the changelink flags/mask pair seems to be
allow partial updates of the driver's link flags. In contrast the rmnet
driver masks the incoming flags and then use that as the new flags.

Change the rmnet driver to follow the common scheme, before the
introduction of IFLA_RMNET_FLAGS handling in iproute2 et al.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Reviewed-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c