diff options
author | Zhang Chen <zhangchen.fnst@cn.fujitsu.com> | 2016-10-17 17:23:59 +0800 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2016-10-26 09:58:02 +0800 |
commit | 2061c14c9bea67f8f1fc6bc7acb33c903a0586c1 (patch) | |
tree | c56970b47f86b4e19d151d54e07af1c866bc65d4 /net/trace-events | |
parent | c7c35916692fe010fef25ac338443d3fe40be225 (diff) |
colo-proxy: fix memory leak
Fix memory leak in colo-compare.c and filter-rewriter.c
Report by Coverity and add some comments.
Signed-off-by: Zhang Chen <zhangchen.fnst@cn.fujitsu.com>
Reviewed-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'net/trace-events')
-rw-r--r-- | net/trace-events | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/trace-events b/net/trace-events index d67f048825..b1913a6666 100644 --- a/net/trace-events +++ b/net/trace-events @@ -13,6 +13,7 @@ colo_compare_icmp_miscompare(const char *sta, int size) ": %s = %d" colo_compare_ip_info(int psize, const char *sta, const char *stb, int ssize, const char *stc, const char *std) "ppkt size = %d, ip_src = %s, ip_dst = %s, spkt size = %d, ip_src = %s, ip_dst = %s" colo_old_packet_check_found(int64_t old_time) "%" PRId64 colo_compare_miscompare(void) "" +colo_compare_pkt_info(const char *src, const char *dst, uint32_t pseq, uint32_t pack, uint32_t sseq, uint32_t sack, int res, uint32_t pflag, uint32_t sflag, int psize, int ssize) "src/dst: %s/%s p: seq/ack=%u/%u s: seq/ack=%u/%u res=%d flags=%x/%x ppkt_size: %d spkt_size: %d\n" # net/filter-rewriter.c colo_filter_rewriter_debug(void) "" |