lkml.org 
[lkml]   [2012]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] net: cgroup: fix access the unallocated memory in netprio cgroup

> Hi Gao
>
> Is it still needed to call update_netdev_tables() from write_priomap() ?
>

Yes, I think it's needed,because read_priomap will show all of the net devices,

But we may add the netdev after create a netprio cgroup, so the new added netdev's
priomap will not be allocated. if we don't call update_netdev_tables in write_priomap,
we may access this unallocated memory.



\
 
 \ /
  Last update: 2012-07-10 12:02    [from the cache]
©2003-2011 Jasper Spaans