diff options
Diffstat (limited to 'net/core/sock.c')
-rw-r--r-- | net/core/sock.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/net/core/sock.c b/net/core/sock.c index ab20ed9b0f31..3f150729fb15 100644 --- a/net/core/sock.c +++ b/net/core/sock.c | |||
@@ -1308,18 +1308,6 @@ static void sk_prot_free(struct proto *prot, struct sock *sk) | |||
1308 | module_put(owner); | 1308 | module_put(owner); |
1309 | } | 1309 | } |
1310 | 1310 | ||
1311 | #if IS_ENABLED(CONFIG_NET_CLS_CGROUP) | ||
1312 | void sock_update_classid(struct sock *sk) | ||
1313 | { | ||
1314 | u32 classid; | ||
1315 | |||
1316 | classid = task_cls_classid(current); | ||
1317 | if (classid != sk->sk_classid) | ||
1318 | sk->sk_classid = classid; | ||
1319 | } | ||
1320 | EXPORT_SYMBOL(sock_update_classid); | ||
1321 | #endif | ||
1322 | |||
1323 | #if IS_ENABLED(CONFIG_NETPRIO_CGROUP) | 1311 | #if IS_ENABLED(CONFIG_NETPRIO_CGROUP) |
1324 | void sock_update_netprioidx(struct sock *sk) | 1312 | void sock_update_netprioidx(struct sock *sk) |
1325 | { | 1313 | { |