may thereby violate
the max for certain devices.
The patch introduces a global variable as max number of fragments.
Signed-off-by: Hans Westgaard Ry
Reviewed-by: Håkon Bugge
---
include/linux/skbuff.h | 1 +
net/core/skbuff.c | 2 ++
net/core/sysctl_net_core.c | 10 ++
net
On 01/27/2016 07:12 PM, Hannes Frederic Sowa wrote:
On 27.01.2016 16:15, Eric Dumazet wrote:
If it is a common one, it should be /proc/sys/net/core/... instead
of /proc/sys/net/ipv4/tcp_
>
Other providers include :
1) GRO stack
2) callers of sock_alloc_send_pskb(), alloc_skb_with_frags
may thereby violate
the max for certain devices.
The patch introduces a global variable as max number of fragments in
scatter/gather.
Signed-off-by: Hans Westgaard Ry
Reviewed-by: Håkon Bugge
---
include/net/tcp.h | 2 ++
net/ipv4/sysctl_net_ipv4.c | 10 ++
net/ipv4/tcp.c
SGE resulting in
kernel-panic.
The patch allows the device to limit the maximum number fragments used
in one skb.
The functionality corresponds to gso_max_size/gso_max_segs for gso.
Signed-off-by: Hans Westgaard Ry
Reviewed-by: Håkon Bugge
Reviewed-by: Knut Omang
Reviewed-by: Wei Lin Guay