aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/freescale/Kconfig
diff options
context:
space:
mode:
authorNeil Horman <nhorman@tuxdriver.com>2012-08-20 07:59:10 +0000
committerDavid S. Miller <davem@davemloft.net>2012-08-24 12:41:17 -0400
commit3afa6d00fb4f9712fbb44b63ba31f88b6f9239fe (patch)
treef058281124d7ce597c3814ac496422a6d0c575e7 /drivers/net/ethernet/freescale/Kconfig
parentMerge tag 'batman-adv-for-davem' of git://git.open-mesh.org/linux-merge (diff)
downloadlinux-dev-3afa6d00fb4f9712fbb44b63ba31f88b6f9239fe.tar.xz
linux-dev-3afa6d00fb4f9712fbb44b63ba31f88b6f9239fe.zip
cls_cgroup: Allow classifier cgroups to have their classid reset to 0
The network classifier cgroup initalizes each cgroups instance classid value to 0. However, the sock_update_classid function only updates classid's in sockets if the tasks cgroup classid is not zero, and if it differs from the current classid. The later check is to prevent cache line dirtying, but the former is detrimental, as it prevents resetting a classid for a cgroup to 0. While this is not a common action, it has administrative usefulness (if the admin wants to disable classification of a certain group temporarily for instance). Easy fix, just remove the zero check. Tested successfully by myself Signed-off-by: Neil Horman <nhorman@tuxdriver.com> CC: "David S. Miller" <davem@davemloft.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/Kconfig')
0 files changed, 0 insertions, 0 deletions