Packets with pkt_type == PACKET_LOOPBACK are captured by
handle_frame() function, but they don't have L2 header.
We should not process them in handle_mode_l2().
This doesn't affect old L2 functionality, since handling
was anyway incorrect.
Handle them the same way as in br_handle_frame():
just pass the skb.
To observe invalid behaviour, just start "ping -b" on bcast address
of port-interface.
Fixes:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| ipvlan.h | ||
| ipvlan_core.c | ||
| ipvlan_l3s.c | ||
| ipvlan_main.c | ||
| ipvtap.c | ||