mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-05 19:31:57 -04:00
ANDROID: fix ABI by undoing atomic64_t -> u64 type conversion
This is pretty much a no-op, but avoids changing struct net ABI. Bug: 274789652 Test: builds, net_test Signed-off-by: Maciej Żenczykowski <maze@google.com> Original-Change-Id: Ia744bdf0a026adccaef8382aaecc771a8d0763a6 Change-Id: Ic22d6bb5e35a7634c1dd4d4c3ed3b142b885ec6f
This commit is contained in:
parent
ae6919a83c
commit
95dcc82b80
1 changed files with 1 additions and 1 deletions
|
|
@ -1546,7 +1546,7 @@ static int sk_getsockopt(struct sock *sk, int level, int optname,
|
|||
lv = sizeof(u64);
|
||||
if (len != lv)
|
||||
return -EINVAL;
|
||||
v.val64 = sock_net(sk)->net_cookie;
|
||||
v.val64 = atomic64_read(&sock_net(sk)->net_cookie);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
|
|||
Loading…
Reference in a new issue