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)
commit6bdef102dae9d24d8eafc9ddfd2bf94a67be3bdc
tree9daaaed512a76cc3f80045d97e6fce11986b27e5
parent255c1c7279abf991113e7c9c29f91e9f1a5776a9
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