diff options
author | Neil Horman | 2010-07-20 06:52:09 +0200 |
---|---|---|
committer | David S. Miller | 2010-07-20 22:28:04 +0200 |
commit | 4b706372f18de53970e4c6887a96459590fef80a (patch) | |
tree | 545fe784620c3dc9f0fd8a6efdeb2cbe566779c9 /lib/locking-selftest-hardirq.h | |
parent | __dst_free(): put EXPORT_SYMBOLS after the fct (diff) | |
download | kernel-qcow2-linux-4b706372f18de53970e4c6887a96459590fef80a.tar.gz kernel-qcow2-linux-4b706372f18de53970e4c6887a96459590fef80a.tar.xz kernel-qcow2-linux-4b706372f18de53970e4c6887a96459590fef80a.zip |
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 <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/locking-selftest-hardirq.h')
0 files changed, 0 insertions, 0 deletions