PFangwang

Results 4 issues of PFangwang

your func: ``` func (c *StatsConnection) Disconnect() { if c == nil { return } if c.statsClient != nil { if err := c.statsClient.Disconnect(); err != nil { log.Debugf("disconnecting stats...

bug

At https://github.com/FDio/vpp/blob/master/src/plugins/af_packet/node.c:467 and https://github.com/FDio/vpp/blob/master/src/plugins/af_packet/node.c:721. trace: 00:14:41:954139: af-packet-input af_packet: hw_if_index 8 rx-queue 2 next-index 4 tpacket2_hdr: status 0x20000051 len 60 snaplen 60 mac 66 net 80 sec 0x6937cb50 nsec 0x3b159f97 vlan...

In src/plugin/dns/dns.c +638: function `delete_random_entry` use `dns_cache_lock `, but all callers of this function have already obtained locks in advance and have not released them at this time. [https://github.com/FDio/vpp/blob/master/src/plugins/dns/dns.c](url)

I saw this node by reading the code in plugins/dhcp/dhcp4_proxy_node.c: ` VLIB_REGISTER_NODE (dhcp_proxy_to_client_node, static) = { .function = dhcp_proxy_to_client_input, .name = "dhcp-proxy-to-client", /* Takes a vector of packets. */ .vector_size...