]> git.baikalelectronics.ru Git - kernel.git/commit
netprio_cgroup: define sk_cgrp_prioidx only if NETPRIO_CGROUP is enabled
authorLi Zefan <lizefan@huawei.com>
Tue, 25 Dec 2012 20:48:24 +0000 (20:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Dec 2012 22:16:23 +0000 (14:16 -0800)
commitddca6d63513e5a761eb502d4b19a8a0218d6f196
tree2f318c33150ddbf86580e7128c1905b232aef6ac
parent8b8a84d25da0fd9f39d398152abfd65d090e2db6
netprio_cgroup: define sk_cgrp_prioidx only if NETPRIO_CGROUP is enabled

sock->sk_cgrp_prioidx won't be used at all if CONFIG_NETPRIO_CGROUP=n.

Signed-off-by: Li Zefan <lizefan@huawei.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h