Messages in this thread |  | | Subject | Re: Bind to protocol with AF_PACKET doesn't work for outgoing packets | From | Andi Kleen <> | Date | 01 Nov 2001 15:30:42 +0100 |
| |
Joris van Rantwijk <joris@deadlock.et.tudelft.nl> writes: > > So... Shouldn't dev_queue_xmit_nit() also process ptype_base then ?
Interesting bug.
It probably should, but unfortunately then it would loop back to all normal protocols (IP, IPv6, ARP etc.) too, which would not be good.
It may be best to change af_packet to always use ptype_all and match the protocols itself. Alternatively there would need to be a special case.
-Andi - 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/
|  |