]> git.baikalelectronics.ru Git - kernel.git/commit
Fix error return for setsockopt(SO_TIMESTAMPING)
authorRémi Denis-Courmont <remi.denis-courmont@nokia.com>
Mon, 20 Jul 2009 00:47:04 +0000 (00:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jul 2009 15:23:36 +0000 (08:23 -0700)
commit096812a2b0d339c726161f35841d687f498bace0
tree12cd535e2ab69bd561124d5e0213fdc7fa0ea98c
parentfd233a2b343ea6edb36bff88c5a4618bcfa0b345
Fix error return for setsockopt(SO_TIMESTAMPING)

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