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

2020-06-28 Thread Willem de Bruijn
On Sat, Jun 27, 2020 at 4:07 AM 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 1/5] net: ip_tunnel: add header_ops for layer 3 devices

2020-06-27 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