[FFmpeg-devel] [PATCH] Avoid sending packets to network when multicast ttl is 0 in udp

Moritz Barsnick barsnick at gmx.net
Wed Jul 13 01:42:39 EEST 2016


On Tue, Jul 12, 2016 at 18:31:36 +0430, Omid Ghaffarinia wrote:

Your mailer has broken the patch by inserting line breaks. You should
try attaching the patch as a file, or directly using "git send-email".

> Bug is due to kernel handling multicast ttl 0 differently (as noted in
> kernel code net/ipv4/route.c:2191 see:

ffmpeg is not a Linux-only tool/library, so comments should point out
which "kernel" more precisely (and possibly which versions this applies
to). Admitted, the link to github contains the string "linux". ;-)

Furthermore: Please explain what the actual bug (i.e. misbehavior) is,
and what this fix changes (or how it fixes it). 

Are you allowing ffmpeg to work when the user is making use of the
kernel hack?

What does this patch achieve on non-Linux operating systems?

(Sorry for the stupid questions, all this isn't obvious to me, and I do
have at least some understanding of network stuff.)

Moritz


More information about the ffmpeg-devel mailing list