]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'frag-udp-tunneled-skbs'
authorDavid S. Miller <davem@davemloft.net>
Tue, 19 Jul 2016 23:40:22 +0000 (16:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jul 2016 23:40:22 +0000 (16:40 -0700)
commiteed54cd0732517dd29682795783cc957df7bff63
tree040f73dd021e9395a688bc9db01fc1dfae70e230
parentabdd51a13c60fd010b473820b940ac5b9c38b96c
parentbe097d6531f48cd9165dfa86100735c1d15e3513
Merge branch 'frag-udp-tunneled-skbs'

Shmulik Ladkani says:

====================
net: Consider fragmentation of udp tunneled skbs in 'ip_finish_output_gso'

Currently IP fragmentation of GSO segments that exceed dst mtu is
considered only in the ipv4 forwarding case.

There are cases where GSO skbs that are bridged and then udp-tunneled
may have gso_size exceeding the egress device mtu.
It makes sense to fragment them, as in the non GSOed code path.

The exact cases where this behavior is needed is described and addressed
in the 2nd patch.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>