Name

dev_remove_offload — remove packet offload handler

Synopsis

void dev_remove_offload (struct packet_offload * po);
 

Arguments

po

packet offload declaration

Description

Remove a packet offload handler that was previously added to the kernel offload handlers by dev_add_offload. The passed offload_type is removed from the kernel lists and can be freed or reused once this function returns.

This call sleeps to guarantee that no CPU is looking at the packet type after return.