Silently drop if VNET is active (if INET bind() has been
authorMark Huang <mlhuang@cs.princeton.edu>
Wed, 25 Aug 2004 18:40:36 +0000 (18:40 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Wed, 25 Aug 2004 18:40:36 +0000 (18:40 +0000)
commit851176f9b29ec15b93533a745ebcd7a0999c3ade
tree69fe278221a31e65e2ff1586017f004e7b4fdf39
parente389e6974f36b71e404aabc7f89e0899ce43751c
Silently drop if VNET is active (if INET bind() has been
overridden) and the context is not entitled to read the
packet.

If a socket has been closed, the xid is set to -1; in this case,
consider the socket to be owned by root and allow the packet to pass.
include/net/sock.h
net/ipv4/tcp_ipv4.c