]> git.baikalelectronics.ru Git - kernel.git/commit
udp: document udp_rcv_segment special case for looped packets
authorWillem de Bruijn <willemb@google.com>
Wed, 29 Jan 2020 20:20:17 +0000 (15:20 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jan 2020 08:59:53 +0000 (09:59 +0100)
commitb31f8f1365a386b767e17f4e0fe4f224dacfbd36
tree730fd5e2dab782e690a1cb85ab01202ea91f0374
parentc10bbdae8b6054c1122b40c10e035f5a2c313e61
udp: document udp_rcv_segment special case for looped packets

Commit 904b0b17ea15c ("udp: segment looped gso packets correctly")
fixes an issue with rare udp gso multicast packets looped onto the
receive path.

The stable backport makes the narrowest change to target only these
packets, when needed. As opposed to, say, expanding __udp_gso_segment,
which is harder to reason to be free from unintended side-effects.

But the resulting code is hardly self-describing.
Document its purpose and rationale.

Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/udp.h