From: Eric Dumazet <[email protected]> Date: Sun, 05 Dec 2010 13:03:26 +0100
> [PATCH net-2.6] llc: fix a device refcount imbalance > > commit abf9d537fea225 (llc: add support for SO_BINDTODEVICE) added one > refcount imbalance in llc_ui_bind(), because dev_getbyhwaddr() doesnt > take a reference on device, while dev_get_by_index() does. > > Fix this using RCU locking. And since an RCU conversion will be done for > 2.6.38 for dev_getbyhwaddr(), put the rcu_read_lock/unlock exactly at > their final place. > > Signed-off-by: Eric Dumazet <[email protected]> Applied and queued up for -stable. _______________________________________________ stable mailing list [email protected] http://linux.kernel.org/mailman/listinfo/stable
