Hi

   Found a potential memleak issue when I enable bridge ipfix and transmit
traffic through geneve tunnel.
   The kernel is centos7.5   3.10.0-862.9.1.el7.x86_64

memleak show a lot of  malloc call-stack :

unreferenced object 0xffff93f473e64000 (size 512):
  comm "softirq", pid 0, jiffies 4461721256 (age 5354.645s)
  hex dump (first 32 bytes):
    00 3e e6 73 f4 93 ff ff 00 9e 3f 87 ff ff ff ff  .>.s......?.....
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<ffffffff86ff8c6b>] __kmalloc+0xeb/0x260
    [<ffffffff873f9a04>] metadata_dst_alloc+0x24/0x90
    [<ffffffff873ebc03>] dev_fill_metadata_dst+0x83/0x130
    [<ffffffffc0442399>] do_execute_actions+0x769/0xa40 [openvswitch]
    [<ffffffffc0442751>] clone_execute+0xe1/0x200 [openvswitch]
    [<ffffffffc044235c>] do_execute_actions+0x72c/0xa40 [openvswitch]
    [<ffffffffc0442a6c>] ovs_execute_actions+0x4c/0x140 [openvswitch]
    [<ffffffffc04467e4>] ovs_dp_process_packet+0x84/0x120 [openvswitch]
    [<ffffffffc0450193>] ovs_vport_receive+0x73/0xd0 [openvswitch]
    [<ffffffffc0450c6e>] netdev_frame_hook+0xde/0x180 [openvswitch]
    [<ffffffff873ed58a>] __netif_receive_skb_core+0x1fa/0xa20
    [<ffffffff873eddc8>] __netif_receive_skb+0x18/0x60
    [<ffffffff873eed2e>] process_backlog+0xae/0x180
    [<ffffffff873ee46f>] net_rx_action+0x26f/0x390
    [<ffffffff86e9b085>] __do_softirq+0xf5/0x280
    [<ffffffff86e9b248>] run_ksoftirqd+0x38/0x50


-- 
Thanks
Zhenyu Gao
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to