[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1360614331-29247-1-git-send-email-nhorman@tuxdriver.com>
Date: Mon, 11 Feb 2013 15:25:29 -0500
From: Neil Horman <nhorman@...driver.com>
To: netdev@...r.kernel.org
Cc: Neil Horman <nhorman@...driver.com>,
David Miller <davem@...emloft.net>, fengguang.wu@...el.com,
eric.dumazet@...il.com, Cong Wang <amwang@...hat.com>
Subject: [PATCH v2 0/2] netpoll: Cleanup netpoll locking and sparse warnings
I was fixing some sparse warnings in netpoll from a previous commit, and it was
pointed out to me that one of the rcu_dereferences that I fixed up in
__netpoll_cleanup might not have been correct. On investigation I found that
rtnl_dereference should have been the correct macro to use, but we had a path in
which we weren't properly holding the rtnl lock. This patch series fixes up the
locking in the __netpoll_free_rcu path, and then properly corrects the sparse
warnings in the netpoll.c file that I previously introduced.
Signed-off-by: Neil Horman <nhorman@...driver.com>
CC: David Miller <davem@...emloft.net>
CC: fengguang.wu@...el.com
CC: eric.dumazet@...il.com
CC: Cong Wang <amwang@...hat.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists