lkml.org 
[lkml]   [2011]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: 2.6.39-rc6-mmotm0506 - another lockdep splat (networking this time)
    From
    From: Eric Dumazet <eric.dumazet@gmail.com>
    Date: Tue, 10 May 2011 05:47:51 +0200

    > [PATCH net-next-2.6] net: fix two lockdep splats
    >
    > Commit e67f88dd12f6 (net: dont hold rtnl mutex during netlink dump
    > callbacks) switched rtnl protection to RCU, but we forgot to adjust two
    > rcu_dereference() lockdep annotations :
    >
    > inet_get_link_af_size() or inet_fill_link_af() might be called with
    > rcu_read_lock or rtnl held, so use rcu_dereference_rtnl()
    > instead of rtnl_dereference()
    >
    > Reported-by: Valdis Kletnieks <Valdis.Kletnieks@vt.edu>
    > Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>

    Applied, thanks everyone.


    \
     
     \ /
      Last update: 2011-05-10 06:01    [W:0.019 / U:6.312 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site