[PATCH net v2] net: Properly typecast int values to set sk_max_pacing_rate

2020-10-21 Thread Ke Li
ro extension to happen. Fixes: 76a9ebe811fb ("net: extend sk_pacing_rate to unsigned long") Signed-off-by: Ji Li Signed-off-by: Ke Li Cc: Eric Dumazet --- v2: wrap the line in net/core/filter.c to less than 80 chars. net/core/filter.c | 3 ++- net/core/sock.c | 2 +- 2 files cha

[PATCH net] net: Properly typecast int values to set sk_max_pacing_rate

2020-10-19 Thread Ke Li
ro extension to happen. Fixes: 76a9ebe811fb ("net: extend sk_pacing_rate to unsigned long") Signed-off-by: Ji Li Signed-off-by: Ke Li Cc: Eric Dumazet --- net/core/filter.c | 2 +- net/core/sock.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/core/filter.c