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 <lizf@cn.fujitsu.com>
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
CC: "David S. Miller" <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-02-10 15:08:57 -05:00
..
acpi
Merge branches 'atomicio-apei', 'hotplug', 'sony-nvs-nosave' and 'thermal-netlink' into release
2012-01-23 19:47:06 -05:00
asm-generic
Merge branch 'for-next' of git://git.infradead.org/users/dhowells/linux-headers
2012-01-14 18:03:30 -08:00
crypto
crypto: serpent-sse2 - add lrw support
2011-11-21 16:13:24 +08:00
drm
drm: Fix authentication kernel crash
2012-01-25 09:27:45 +00:00
keys
keys: add a "logon" key type
2012-01-17 22:39:40 -06:00
linux
net/hyperv: Fix the page buffer when an RNDIS message goes beyond page boundary
2012-02-02 14:35:12 -05:00
math-emu
media
Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
2012-01-18 12:53:54 -08:00
misc
mtd
mtd: document that MEMWRITE ioctl is NAND-specific
2012-01-09 18:18:36 +00:00
net
netprio_cgroup: fix wrong memory access when NETPRIO_CGROUP=m
2012-02-10 15:08:57 -05:00
pcmcia
rdma
rdma/core: Fix sparse warnings
2012-01-04 09:17:45 -08:00
rxrpc
scsi
[SCSI] libfc: Declare local functions static
2012-01-16 12:45:48 +04:00
sound
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
2012-01-12 08:00:30 -08:00
target
target: Set additional sense length field in sense data
2011-12-16 06:29:04 +00:00
trace
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs
2012-01-17 15:49:54 -08:00
video
Merge branch 'for-next' of git://git.infradead.org/users/dhowells/linux-headers
2012-01-14 18:03:30 -08:00
xen
Merge branch 'for-3.3/drivers' of git://git.kernel.dk/linux-block
2012-01-15 12:48:41 -08:00
Kbuild