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
(from parent 1:
e4135c2
)
Fix error return for setsockopt(SO_TIMESTAMPING)
author
Rémi Denis-Courmont
<remi.denis-courmont@nokia.com>
Mon, 20 Jul 2009 00:47:04 +0000
(
00:47
+0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 20 Jul 2009 15:23:36 +0000
(08:23 -0700)
I guess it should be -EINVAL rather than EINVAL. I have not checked
when the bug came in. Perhaps a candidate for -stable?
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/sock.c
patch
|
blob
|
history
diff --git
a/net/core/sock.c
b/net/core/sock.c
index
d9eec15
..
bbb25be
100644
(file)
--- a/
net/core/sock.c
+++ b/
net/core/sock.c
@@
-631,7
+631,7
@@
set_rcvbuf:
case SO_TIMESTAMPING:
if (val & ~SOF_TIMESTAMPING_MASK) {
- ret = EINVAL;
+ ret =
-
EINVAL;
break;
}
sock_valbool_flag(sk, SOCK_TIMESTAMPING_TX_HARDWARE,