aboutsummaryrefslogtreecommitdiff
path: root/kernel/sysctl_binary.c
diff options
context:
space:
mode:
authorYunsheng Lin <[email protected]>2018-09-26 19:28:37 +0100
committerDavid S. Miller <[email protected]>2018-09-28 10:37:42 -0700
commit93d8daf460183871a965dae339839d9e35d44309 (patch)
tree93eddd298c765f2029f690eb2f8c46729cb5782e /kernel/sysctl_binary.c
parent996ff91840eb6f288826e472685abde78bac20ea (diff)
net: hns3: Fix for netdev not up problem when setting mtu
Currently hns3_nic_change_mtu will try to down the netdev before setting mtu, and it does not up the netdev when the setting fails, which causes netdev not up problem. This patch fixes it by not returning when the setting fails. Fixes: a8e8b7ff3517 ("net: hns3: Add support to change MTU in HNS3 hardware") Signed-off-by: Yunsheng Lin <[email protected]> Signed-off-by: Peng Li <[email protected]> Signed-off-by: Salil Mehta <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions