]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitf249fb783092471a4808e5fc5bda071d2724810d
tree12cd535e2ab69bd561124d5e0213fdc7fa0ea98c
parente4135c2da11c337e3759f98727c4819ba2a849fa
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