From: Eric W. Biederman Date: Sun, 20 Feb 2011 19:49:45 +0000 (-0800) Subject: net: Fix more stale on-stack list_head objects. X-Git-Tag: v2.6.38-rc7~47^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f04d5068a90602b93a7953e9a47c496705c6976;p=pandora-kernel.git net: Fix more stale on-stack list_head objects. From: Eric W. Biederman In the beginning with batching unreg_list was a list that was used only once in the lifetime of a network device (I think). Now we have calls using the unreg_list that can happen multiple times in the life of a network device like dev_deactivate and dev_close that are also using the unreg_list. In addition in unregister_netdevice_queue we also do a list_move because for devices like veth pairs it is possible that unregister_netdevice_queue will be called multiple times. So I think the change below to fix dev_deactivate which Eric D. missed will fix this problem. Now to go test that. Signed-off-by: David S. Miller --- Reading git-diff-tree failed