aboutsummaryrefslogtreecommitdiffstats
path: root/lib/net_utils.c
diff options
context:
space:
mode:
authorTomas Hozza <[email protected]>2013-05-22 12:54:31 +0000
committerGreg Kroah-Hartman <[email protected]>2013-06-03 21:13:09 +0000
commit4d81e3074423d1bd69a29d5795ff71205814d9e1 (patch)
tree9f5885357753f0ff1fa8653caf21bed1f022eb98 /lib/net_utils.c
parenttools: hv: Check return value of setsockopt call (diff)
downloadkernel-4d81e3074423d1bd69a29d5795ff71205814d9e1.tar.gz
kernel-4d81e3074423d1bd69a29d5795ff71205814d9e1.zip
tools: hv: Check return value of poll call
Check return value of poll call and if it fails print error to the system log. If errno is EINVAL then exit with non-zero value otherwise continue the while loop and call poll again. Signed-off-by: Tomas Hozza <[email protected]> Acked-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions