From: Neil Horman Date: Tue, 20 Jul 2010 04:52:09 +0000 (+0000) Subject: drop_monitor: Add error code to detect duplicate state changes X-Git-Tag: v2.6.36-rc1~571^2~150 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b706372f18de53970e4c6887a96459590fef80a;p=pandora-kernel.git drop_monitor: Add error code to detect duplicate state changes Patch to add -EAGAIN error to dropwatch netlink message handling code. -EAGAIN will be returned anytime userspace attempts to transition the state of the drop monitor service to a state that its already in. That allows user space to detect this condition, so it doesn't wait for a success ACK that will never arrive. Tested successfully by me Signed-off-by: Neil Horman Signed-off-by: David S. Miller --- Reading git-diff-tree failed