On 9/9/16 12:26 PM, Cyrill Gorcunov wrote: > In criu we are actively using diag interface to collect sockets > present in the system when dumping applications. And while for > unix, tcp, udp[lite], packet, netlink it works as expected, > the raw sockets do not have. Thus add it. > > CC: David S. Miller <[email protected]> > CC: Eric Dumazet <[email protected]> > CC: Alexey Kuznetsov <[email protected]> > CC: James Morris <[email protected]> > CC: Hideaki YOSHIFUJI <[email protected]> > CC: Patrick McHardy <[email protected]> > CC: Andrey Vagin <[email protected]> > CC: Stephen Hemminger <[email protected]> > Signed-off-by: Cyrill Gorcunov <[email protected]> > ---
Would you mind adding the destroy capability as well? The udp version should be close to what is needed for raw sockets. See udp_diag_destroy and udp_abort.

