From: Eric W. Biederman Date: Wed, 13 May 2009 16:59:21 +0000 (+0000) Subject: net: Fix devinet_sysctl_forward X-Git-Tag: v2.6.31-rc1~330^2~365 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b8adb5ea005fe73acd5dd58f9bd47eafa74c9d1;p=pandora-kernel.git net: Fix devinet_sysctl_forward sysctls are unregistered with the rntl_lock held making it unsafe to unconditionally grab the the rtnl_lock. Instead we need to call rtnl_trylock and restart the system call if we can not grab it. Otherwise we could deadlock at unregistration time. Signed-off-by: Eric W. Biederman Signed-off-by: David S. Miller --- Reading git-diff-tree failed