Re: Bind to protocol with AF_PACKET doesn't work for outgoing packets

kuznet@ms2.inr.ac.ru
Thu, 1 Nov 2001 20:33:15 +0300 (MSK)


Hello!

> > So... Shouldn't dev_queue_xmit_nit() also process ptype_base then ?
>
> Interesting bug.

RTFM of the maillists, Andi.

Someone promised me to fix this in right way, but disappeared.

Generally packet sockets MUST NOT tap on output packets. No differences
of socket of another protocols. UDP does not tap output right?
What the hell packet socket should do this?
Snapping on output is feature which must be regulated by a separate option.
And to be honest I see no tragedy, if this option will not exist for sockets
bound to specific protocols.

Alexey
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/