aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/lib/ynl.py
diff options
context:
space:
mode:
authorGeliang Tang <[email protected]>2023-10-25 23:37:08 +0000
committerJakub Kicinski <[email protected]>2023-10-27 15:47:30 +0000
commita6c85fc61c088c7ef43ba81e80b48c263a80602a (patch)
treea0bf50ae00cf5ef0126a8011fa0372b1760f97f9 /tools/net/ynl/lib/ynl.py
parentmptcp: use mptcp_get_ext helper (diff)
downloadkernel-a6c85fc61c088c7ef43ba81e80b48c263a80602a.tar.gz
kernel-a6c85fc61c088c7ef43ba81e80b48c263a80602a.zip
mptcp: move sk assignment statement ahead
If we move the sk assignment statement ahead in mptcp_nl_cmd_sf_create() or mptcp_nl_cmd_sf_destroy(), right after the msk null-check statements, sk can be used after the create_err or destroy_err labels instead of open-coding it again. Reviewed-by: Matthieu Baerts <[email protected]> Signed-off-by: Geliang Tang <[email protected]> Signed-off-by: Mat Martineau <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/net/ynl/lib/ynl.py')
0 files changed, 0 insertions, 0 deletions