summaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2018-04-26 13:42:18 -0400
committerDavid S. Miller <davem@davemloft.net>2018-04-26 15:08:14 -0400
commitad405857b174ed31a97982bb129c320d03321cf5 (patch)
tree93484ddfa8040f5b4a56d2fa5da6ef1b37c2e1ec /net/ipv6
parentbec1f6f697362c5bc635dacd7ac8499d0a10a4e7 (diff)
downloadop-kernel-dev-ad405857b174ed31a97982bb129c320d03321cf5.zip
op-kernel-dev-ad405857b174ed31a97982bb129c320d03321cf5.tar.gz
udp: better wmem accounting on gso
skb_segment by default transfers allocated wmem from the gso skb to the tail of the segment list. This underreports real truesize of the list, especially if the tail might be dropped. Similar to tcp_gso_segment, update wmem_alloc with the aggregate list truesize and make each segment responsible for its own share by setting skb->destructor. Clear gso_skb->destructor prior to calling skb_segment to skip the default assignment to tail. Signed-off-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud