On Mon, 2017-02-13 at 13:28 +0000, Anoob Soman wrote: > Wouldn't it be easier to call synchronize_net(), before calling > fanout_release_data() and kfree(f). > The behavior, wrt synchronize_net, would be same as before and > fanout_release() will cleanup everything without leaving any residue.
So we would require two synchronize_net() calls instead of one ? synchronize_net() is very expensive on some hosts, it is a big hammer.