summaryrefslogtreecommitdiffstats
path: root/kernel/sched_cpupri.c
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2010-10-21 01:01:15 +0000
committerDavid S. Miller <davem@davemloft.net>2010-10-24 14:47:48 -0700
commit759a6c768dcdbbb4d3f1fb965b674c15773e09ca (patch)
treeae167ac4b6ba9cc212115c3b51bd8aa3376b7a6e /kernel/sched_cpupri.c
parent8a0e0a49b0a917c8c8dce6f7121ec73a5c8e3932 (diff)
downloadblackbird-op-linux-759a6c768dcdbbb4d3f1fb965b674c15773e09ca.tar.gz
blackbird-op-linux-759a6c768dcdbbb4d3f1fb965b674c15773e09ca.zip
can: at91_can: fix use after free of priv
The priv is part of the memory allocated by alloc_candev(). This patch moved the free it after last usage of priv. While there convert all free_netdev() to free_candev() (which is currently just a wrapper around free_netdev()) to be symetrically with the allocation via alloc_candev(). Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/sched_cpupri.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud