Harald Welte
cd698095c7
An AF_PACKET socket will immediately receive packets of _all_ interfaces until it is bound to one specific interface. This introduces a race condition between the socket() and the bind() syscall. Let's use the ifindex passed for each packet in recvmsg() to drop any packets received for other interfaces. Change-Id: Icd0b23eb1d6f75ca3a05e5dd1a569fa389903fdf |
||
---|---|---|
.. | ||
AF_PACKET_PT.cc | ||
AF_PACKET_PT.hh | ||
AF_PACKET_PortType.ttcn | ||
AF_PACKET_PortTypes.ttcn | ||
FrameRelay_CodecPort.ttcn | ||
FrameRelay_Emulation.ttcn | ||
FrameRelay_Types.ttcn | ||
Q931_Types.ttcn | ||
Q933_Types.ttcn |