ifb: should not use __dev_get_by_index() without locks
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 20 Oct 2009 02:35:50 +0000 (02:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Oct 2009 04:54:19 +0000 (21:54 -0700)
commitdb519144243de6b17ff0c56c26f06059743110a7
treef758c88e703bf2064454c45c439bb0428fb57db3
parentbc36b4285136bcc8dd43e91ffe34df6a52a0cfaf
ifb: should not use __dev_get_by_index() without locks

At this point (ri_tasklet()), RTNL or dev_base_lock are not held,
we must use dev_get_by_index() instead of __dev_get_by_index()

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ifb.c