summaryrefslogtreecommitdiff
path: root/dissector_eth.h
AgeCommit message (Expand)AuthorFilesLines
2013-07-11dissector: rename __WITH_PROTOS into HAVE_DISSECTOR_PROTOSDaniel Borkmann1-2/+2
2013-06-04xutils: eliminate xutils, move rest to epoll2Daniel Borkmann1-1/+0
2013-03-15all: import netsniff-ng 0.5.8-rc0 sourceDaniel Borkmann1-0/+48
f='/cgit.cgi/linux/net-next.git/tree/?id=b18bcb0019cf57a3db0917b77e65c29bd9b00f54'>e4953f2cfc6e10c6c7a19b0f02bef6eb951e367b parentb173a28f62cf929324a8a6adcc45adadce311d16 (diff)
netfilter: nfnetlink_queue: fix memory leak when attach expectation successfully
User can use NFQA_EXP to attach expectations to conntracks, but we forget to put back nf_conntrack_expect when it is inserted successfully, i.e. in this normal case, expect's use refcnt will be 3. So even we unlink it and put it back later, the use refcnt is still 1, then the memory will be leaked forever. Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat