net: Print debug info if packet is loopback back to us
Without this info it is a bit difficult to notice what is going on in loopback case. Change-Id: I8f61330c01d025e41f00d663bd26947b8cafb5c0 Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
a71a9f9ad1
commit
a1c4f3fbd5
|
@ -311,6 +311,7 @@ int net_send_data(struct net_pkt *pkt)
|
|||
/* Packet is destined back to us so send it directly
|
||||
* to RX processing.
|
||||
*/
|
||||
NET_DBG("Loopback pkt %p back to us", pkt);
|
||||
processing_data(pkt, true);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue