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 \
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
go'/>
index : net-next.git | |
net-next plumbings | Tobias Klauser |
smc: some potential use after free bugs
Say we got really unlucky and these failed on the last iteration, then
it could lead to a use after free bug.
Fixes: cd6851f30386 ("smc: remote memory buffers (RMBs)")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>