net: conn: Drop invalid packet
If a packet with source IP address and port same as the address of echo
server is received, it causes echo server to recursively send the packet
to itself, resulting in a crash and memory depletion. This commit fixes
the crash by dropping the packet.
Signed-off-by:
Ruslan Mstoi <ruslan.mstoi@intel.com>
Loading
Please sign in to comment