Description

This article provides the meaning of "flow_proc_rc: -1" in a packet flow trace.

Symptoms

When analyzing a flow trace output, what does 'flow_proc_rc:1 -1" mean?

May  6 20:53:45 20:53:45.293556:CID-0:RT:<10.10.181.122/20580->10.1.105.233/23777;50,0x0> matched filter temp4:
May  6 20:53:45 20:53:45.293560:CID-0:RT:packet [120] ipid = 45925, @0x588529a0e
May  6 20:53:45 20:53:45.293562:CID-0:RT:---- flow_process_pkt: (thd 1): flow_ctxt type 15, common flag 0x0, mbuf 0x7c032400, rtbl_idx = 8
May  6 20:53:45 20:53:45.293564:CID-0:RT: flow process pak fast ifl 69 in_ifp ge-0/0/1.0
May  6 20:53:45 20:53:45.293565:CID-0:RT:  ge-0/0/1.0:10.10.181.122->10.1.105.233, 50
May  6 20:53:45 20:53:45.293568:CID-0:RT: find flow: table 0x28dce0c0, hash 426821(0x7ffff), sa 10.10.181.122, da 10.1.105.233, sp 20580, dp 23777, proto 50, tok 32775, conn-tag 0x00000000 
May  6 20:53:45 20:53:45.293572:CID-0:RT:Found: session id 0x1ec65. sess tok 32775 
May  6 20:53:45 20:53:45.293573:CID-0:RT:  flow got session.
May  6 20:53:45 20:53:45.293573:CID-0:RT:  flow session id 126053
May  6 20:53:45 20:53:45.293574:CID-0:RT:TCP encap local flag2 0x0, nsp tun 0x0
May  6 20:53:45 20:53:45.293575:CID-0:RT:  flow_decrypt: tun 0x30783d40(flag 0x2), iif 69
May  6 20:53:45 20:53:45.293576:CID-0:RT:flow_vpn_chk_and_fwd_pkt_tunl_anch_thd: Tunnel anchored locally. Not forwarding packet
May  6 20:53:45 20:53:45.293577:CID-0:RT:lpak_init: lpak 0x5827a2e80, paksize 120, machdr 0x0, iphdr 0x588529a0e
May  6 20:53:45 20:53:45.293595:CID-0:RT:<10.10.181.122/20580->10.1.105.233/23777;50,0x0> matched filter temp4:
May  6 20:53:45 20:53:45.293598:CID-0:RT:packet [120] ipid = 45925, @0x588529a0e
May  6 20:53:45 20:53:45.293599:CID-0:RT:flow_proc_rc: -1. <<<<<
May  6 20:53:45 20:53:45.293600:CID-0:RT: ----- flow_process_pkt rc 0x7 (fp rc -1)

Solution

When the following message appears in the flow trace output flow_proc_rc: -1, it means that the packet is dropped.

May 6 20:53:45 20:53:45.293599:CID-0:RT:flow_proc_rc: -1. <<<<< means 'packet dropped'