]> git.baikalelectronics.ru Git - kernel.git/commit
net: support 64bit values for setsockopt(SO_MAX_PACING_RATE)
authorEric Dumazet <edumazet@google.com>
Thu, 28 Feb 2019 23:17:27 +0000 (15:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Mar 2019 07:08:30 +0000 (23:08 -0800)
commitb1a34b72d209b8c08ee017633b7f9e2ed5ee4f3a
tree9daaaed512a76cc3f80045d97e6fce11986b27e5
parentf96870e67a940110de8de7a0385678d4a2426fdc
net: support 64bit values for setsockopt(SO_MAX_PACING_RATE)

64bit kernels now support 64bit pacing rates.

This commit changes setsockopt() to accept 64bit
values provided by applications.

Old applications providing 32bit value are still supported,
but limited to the old 34Gbit limitation.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/sock.c