Kristof Provost 36637dd19d bridge: Don't share broadcast packets
if_bridge duplicates broadcast packets with m_copypacket(), which
creates shared packets. In certain circumstances these packets can be
processed by udp_usrreq.c:udp_input() first, which modifies the mbuf as
part of the checksum verification. That may lead to incorrect packets
being transmitted.

Use m_dup() to create independent mbufs instead.

Reported by:	Richard Russo <toast@ruka.org>
Reviewed by:	donner, afedorov
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D34319
2022-02-21 19:03:44 +01:00
..
2021-09-04 17:26:10 +02:00
2021-12-17 12:38:35 +01:00
2022-02-15 21:45:22 +08:00
2021-11-08 12:00:00 +01:00
2021-11-19 22:01:27 +01:00
2020-12-29 17:35:06 +01:00
2021-12-06 09:32:31 -08:00
2021-11-30 17:35:15 +01:00
2021-12-17 12:38:34 +01:00
2020-11-20 14:45:45 +00:00
2021-04-02 07:01:20 +00:00
2020-10-16 11:22:29 +00:00
2021-02-11 16:12:29 +01:00