From: Eric Dumazet Date: Tue, 10 May 2011 19:26:06 +0000 (-0700) Subject: net: dev_close() should check IFF_UP X-Git-Tag: v2.6.39~61^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e14a599335427f81bbb0008963e59aa9c6449dce;p=pandora-kernel.git net: dev_close() should check IFF_UP Commit 443457242beb (factorize sync-rcu call in unregister_netdevice_many) mistakenly removed one test from dev_close() Following actions trigger a BUG : modprobe bonding modprobe dummy ifconfig bond0 up ifenslave bond0 dummy0 rmmod dummy dev_close() must not close a non IFF_UP device. With help from Frank Blaschka and Einar EL Lueck Reported-by: Frank Blaschka Reported-by: Einar EL Lueck Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed