Good catch, as you know I used to have the device getting modified in the RX path and that made it all work
generic ip_rcv will need a fix to make RX visible to tcpdump, but yes, that is the goal. On Mon, Jun 8, 2015 at 12:13 PM, David Ahern <dsah...@gmail.com> wrote: > On 6/8/15 12:35 PM, Shrijeet Mukherjee wrote: >> >> 5. Debugging is built-in as tcpdump and counters on the VRF device >> works as is. > > > Is the intent that something like this > > tcpdump -i vrf0 > > can be used to see vrf traffic? > > vrf_handle_frame only bumps counters; it does not switch skb->dev to the vrf > device so for Rx path tcpdump will not get the packets. ie., tcpdump only > shows outbound packets. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html