Files
erofs-linux/net/core
Neil Horman 2b73bc65e2 netprio_cgroup: fix wrong memory access when NETPRIO_CGROUP=m
When the netprio_cgroup module is not loaded, net_prio_subsys_id
is -1, and so sock_update_prioidx() accesses cgroup_subsys array
with negative index subsys[-1].

Make the code resembles cls_cgroup code, which is bug free.

Origionally-authored-by: Li Zefan <[email protected]>
Signed-off-by: Li Zefan <[email protected]>
Signed-off-by: Neil Horman <[email protected]>
CC: "David S. Miller" <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2012-02-10 15:08:57 -05:00
..
2012-02-08 18:26:54 -05:00
…
…
2012-01-26 13:36:19 -05:00
…
2012-01-17 10:31:12 -05:00
2011-12-16 15:49:51 -05:00
…
…