projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb1d074
)
hyperv: Fix the missing return value in rndis_filter_set_packet_filter()
author
Haiyang Zhang
<haiyangz@microsoft.com>
Tue, 2 Oct 2012 05:30:20 +0000
(
05:30
+0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 2 Oct 2012 18:39:30 +0000
(14:39 -0400)
Return ETIMEDOUT when the reply message is not received in time.
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/rndis_filter.c
patch
|
blob
|
history
diff --git
a/drivers/net/hyperv/rndis_filter.c
b/drivers/net/hyperv/rndis_filter.c
index
1337b64
..
617eb2e
100644
(file)
--- a/
drivers/net/hyperv/rndis_filter.c
+++ b/
drivers/net/hyperv/rndis_filter.c
@@
-647,6
+647,7
@@
int rndis_filter_set_packet_filter(struct rndis_device *dev, u32 new_filter)
if (t == 0) {
netdev_err(ndev,
"timeout before we got a set response...\n");
+ ret = -ETIMEDOUT;
/*
* We can't deallocate the request since we may still receive a
* send completion for it.