question about __netif_receive_skb_core() work on macvlan device

From: Yuan, Linyu (NSB - CN/Shanghai) <hidden>
Date: 2018-01-05 07:35:09

Hi,

I have a question about __netif_receive_skb_core(),
1. create a macvlan device on a real ethernet device and configure a mac address to this macvlan device
2. create a AF_PACKET socket and bind to the real ethernet device in step 1
3. user application will receive packet which destination mac address equal to step1 through socket created by step2

Is it correct for a macvlan device configured as step1?

thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help