# Re: expected behavior of PF\_PACKET on NETIF\_F\_HW\_VLAN\_RX device?

- From: David Miller \<davem@davemloft.net\>
- Date: 2007-11-01 04:50:36 
- List: netdev
- Page: https://ratatoskr.run/netdev/2007/11/1021628
- Thread: https://ratatoskr.run/netdev/2007/10/1021413/t.md

```text
From: Stephen Hemminger <redacted>
Date: Wed, 31 Oct 2007 18:23:37 -0700

> The code in AF_PACKET should fix the skb before passing to user
> space so that there is no difference between accel and non-accel
> hardware.  Internal choices shouldn't leak to user space.  Ditto,
> the receive checksum offload should be fixed up as well.

The hardware has stripped the VLAN header completely and has not
provided it to us at all.

In my opinion trying to cobble one up by hand using the known TAG is
worse than not providing a VLAN header at all.
```
