flowtop-libs = -lurcu \ -lnetfilter_conntrack \ $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --libs ncurses 2> /dev/null \ || echo '-lncurses') \ $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --libs tinfo 2> /dev/null ) \ -lpthread ifeq ($(CONFIG_GEOIP), 1) flowtop-libs += -lGeoIP \ -lz endif flowtop-objs = xmalloc.o \ str.o \ sig.o \ sock.o \ proc.o \ dev.o \ link.o \ hash.o \ lookup.o \ screen.o \ die.o \ sysctl.o \ ui.o \ flowtop.o ifeq ($(CONFIG_GEOIP), 1) flowtop-objs += geoip.o \ ioops.o endif flowtop-eflags = $(shell $(PKG_CONFIG) --cflags ncurses) \ $(shell $(PKG_CONFIG) --cflags libnetfilter_conntrack) flowtop-confs = tcp.conf \ udp.conf \ geoip.conf ss='main'>index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorgen Hansen <jhansen@vmware.com>2016-10-06 04:43:08 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-28 08:26:21 -0400
commiteb94cd68abd9b7c92bf70ddc452d65f1a84c46e2 (patch)
tree137aba204ea5ee978a4f8a908912192a834d0fe8
parenta7a7aeefbca2982586ba2c9fd7739b96416a6d1d (diff)
VMCI: Doorbell create and destroy fixes
This change consists of two changes: 1) If vmci_doorbell_create is called when neither guest nor host personality as been initialized, vmci_get_context_id will return VMCI_INVALID_ID. In that case, we should fail the create call. 2) In doorbell destroy, we assume that vmci_guest_code_active() has the same return value on create and destroy. That may not be the case, so we may end up with the wrong refcount. Instead, destroy should check explicitly whether the doorbell is in the index table as an indicator of whether the guest code was active at create time. Reviewed-by: Adit Ranadive <aditr@vmware.com> Signed-off-by: Jorgen Hansen <jhansen@vmware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat