| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * netprio_cgroup.h Control Group Priority set |
|---|
| 3 | 4 | * |
|---|
| 4 | | - * |
|---|
| 5 | 5 | * Authors: Neil Horman <nhorman@tuxdriver.com> |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 8 | | - * under the terms of the GNU General Public License as published by the Free |
|---|
| 9 | | - * Software Foundation; either version 2 of the License, or (at your option) |
|---|
| 10 | | - * any later version. |
|---|
| 11 | | - * |
|---|
| 12 | 6 | */ |
|---|
| 13 | 7 | |
|---|
| 14 | 8 | #ifndef _NETPRIO_CGROUP_H |
|---|
| .. | .. |
|---|
| 32 | 26 | |
|---|
| 33 | 27 | rcu_read_lock(); |
|---|
| 34 | 28 | css = task_css(p, net_prio_cgrp_id); |
|---|
| 35 | | - idx = css->cgroup->id; |
|---|
| 29 | + idx = css->id; |
|---|
| 36 | 30 | rcu_read_unlock(); |
|---|
| 37 | 31 | return idx; |
|---|
| 38 | 32 | } |
|---|