diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2009-09-15 15:54:43 +0200 |
---|---|---|
committer | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2009-09-15 16:25:15 +0200 |
commit | 066fc51275cef94d1624fd58bb3065d050a6f17e (patch) | |
tree | 84326b68edea8952ae90c7ef448d162f1a322fcc /net/ieee802154/dgram.c | |
parent | Merge branch 'osync_cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff) | |
download | linux-066fc51275cef94d1624fd58bb3065d050a6f17e.tar.xz linux-066fc51275cef94d1624fd58bb3065d050a6f17e.zip |
af_ieee802154: setsockopt optlen arg isn't __user
Remove __user annotation from optlen arg as it's bogus.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'net/ieee802154/dgram.c')
-rw-r--r-- | net/ieee802154/dgram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ieee802154/dgram.c b/net/ieee802154/dgram.c index 77ae6852b93d..51593a48f2dd 100644 --- a/net/ieee802154/dgram.c +++ b/net/ieee802154/dgram.c @@ -414,7 +414,7 @@ static int dgram_getsockopt(struct sock *sk, int level, int optname, } static int dgram_setsockopt(struct sock *sk, int level, int optname, - char __user *optval, int __user optlen) + char __user *optval, int optlen) { struct dgram_sock *ro = dgram_sk(sk); int val; |