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

From: kuznet@ms2.inr.ac.ru
Date: Thu Nov 01 2001 - 12:33:15 EST


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/



This archive was generated by hypermail 2b29 : Wed Nov 07 2001 - 21:00:15 EST