Re: [PATCH net] net: pktgen: remove rcu locking in pktgen_change_name()

2016-10-17 Thread David Miller
From: Eric Dumazet Date: Sat, 15 Oct 2016 17:50:49 +0200 > From: Eric Dumazet > > After Jesper commit back in linux-3.18, we trigger a lockdep > splat in proc_create_data() while allocating memory from > pktgen_change_name(). > > This patch

[PATCH net] net: pktgen: remove rcu locking in pktgen_change_name()

2016-10-15 Thread Eric Dumazet
From: Eric Dumazet After Jesper commit back in linux-3.18, we trigger a lockdep splat in proc_create_data() while allocating memory from pktgen_change_name(). This patch converts t->if_lock to a mutex, since it is now only used from control path, and adds proper locking to