Re: [PATCH net v2 1/8] net: ip_tunnel: add header_ops for layer 3 devices

2020-06-30 Thread Willem de Bruijn
On Mon, Jun 29, 2020 at 9:06 PM Jason A. Donenfeld wrote: > > Some devices that take straight up layer 3 packets benefit from having a > shared header_ops so that AF_PACKET sockets can inject packets that are > recognized. This shared infrastructure will be used by other drivers > that currently c

[PATCH net v2 1/8] net: ip_tunnel: add header_ops for layer 3 devices

2020-06-29 Thread Jason A. Donenfeld
Some devices that take straight up layer 3 packets benefit from having a shared header_ops so that AF_PACKET sockets can inject packets that are recognized. This shared infrastructure will be used by other drivers that currently can't inject packets using AF_PACKET. It also exposes the parser funct