angler-fishThe Vulnerability History Project

packet: add PACKET_RESERVE sockopt

      Add new sockopt to reserve some headroom in the mmaped ring frames in
front of the packet payload. This can be used f.i. when the VLAN header
needs to be (re)constructed to avoid moving the entire payload.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
    
commit 8913336a7e8d56e984109a3137d6c0e3362596a4
+1
+26 -3
expand_less