Skip to content

Commit 3073916

Browse files
matttbeintel-lab-lkp
authored andcommitted
mptcp: pm: kernel: add '_pm' to mptcp_nl_set_flags
Currently, in-kernel PM specific helpers are prefixed with 'mptcp_pm_nl_'. Here, '_pm' was missing from 'mptcp_nl_set_flags'. Add '_pm' to be similar to others, and add '_all' to avoid confusions witih the global 'mptcp_pm_nl_set_flags'. No behavioural changes intended. Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
1 parent 18f60dc commit 3073916

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

net/mptcp/pm_netlink.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1915,9 +1915,9 @@ static void mptcp_pm_nl_fullmesh(struct mptcp_sock *msk,
19151915
spin_unlock_bh(&msk->pm.lock);
19161916
}
19171917

1918-
static void mptcp_nl_set_flags(struct net *net,
1919-
struct mptcp_pm_addr_entry *local,
1920-
u8 changed)
1918+
static void mptcp_pm_nl_set_flags_all(struct net *net,
1919+
struct mptcp_pm_addr_entry *local,
1920+
u8 changed)
19211921
{
19221922
u8 is_subflow = !!(local->flags & MPTCP_PM_ADDR_FLAG_SUBFLOW);
19231923
u8 bkup = !!(local->flags & MPTCP_PM_ADDR_FLAG_BACKUP);
@@ -1992,7 +1992,7 @@ int mptcp_pm_nl_set_flags(struct mptcp_pm_addr_entry *local,
19921992
*local = *entry;
19931993
spin_unlock_bh(&pernet->lock);
19941994

1995-
mptcp_nl_set_flags(net, local, changed);
1995+
mptcp_pm_nl_set_flags_all(net, local, changed);
19961996
return 0;
19971997
}
19981998

0 commit comments

Comments
 (0)