diff options
author | Ingo Molnar <mingo@kernel.org> | 2015-03-05 14:52:18 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-03-05 14:52:18 -0500 |
commit | 33ca8a53f262b4af40611bea331b8c87d133af72 (patch) | |
tree | d6468c820a556c4915bcb5b761204a0fb19e8225 /net/core/sock.c | |
parent | db2dcb4f91d5fec5c346a82c309187ee821e2495 (diff) | |
parent | 13a7a6ac0a11197edcd0f756a035f472b42cdf8b (diff) |
Merge tag 'v4.0-rc2' into irq/core, to refresh the tree before applying new changes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'net/core/sock.c')
-rw-r--r-- | net/core/sock.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/core/sock.c b/net/core/sock.c index 1c7a33db1314..93c8b20c91e4 100644 --- a/net/core/sock.c +++ b/net/core/sock.c | |||
@@ -325,6 +325,8 @@ __u32 sysctl_rmem_default __read_mostly = SK_RMEM_MAX; | |||
325 | int sysctl_optmem_max __read_mostly = sizeof(unsigned long)*(2*UIO_MAXIOV+512); | 325 | int sysctl_optmem_max __read_mostly = sizeof(unsigned long)*(2*UIO_MAXIOV+512); |
326 | EXPORT_SYMBOL(sysctl_optmem_max); | 326 | EXPORT_SYMBOL(sysctl_optmem_max); |
327 | 327 | ||
328 | int sysctl_tstamp_allow_data __read_mostly = 1; | ||
329 | |||
328 | struct static_key memalloc_socks = STATIC_KEY_INIT_FALSE; | 330 | struct static_key memalloc_socks = STATIC_KEY_INIT_FALSE; |
329 | EXPORT_SYMBOL_GPL(memalloc_socks); | 331 | EXPORT_SYMBOL_GPL(memalloc_socks); |
330 | 332 | ||
@@ -840,6 +842,7 @@ set_rcvbuf: | |||
840 | ret = -EINVAL; | 842 | ret = -EINVAL; |
841 | break; | 843 | break; |
842 | } | 844 | } |
845 | |||
843 | if (val & SOF_TIMESTAMPING_OPT_ID && | 846 | if (val & SOF_TIMESTAMPING_OPT_ID && |
844 | !(sk->sk_tsflags & SOF_TIMESTAMPING_OPT_ID)) { | 847 | !(sk->sk_tsflags & SOF_TIMESTAMPING_OPT_ID)) { |
845 | if (sk->sk_protocol == IPPROTO_TCP) { | 848 | if (sk->sk_protocol == IPPROTO_TCP) { |