On 9/10/16 4:05 PM, Cyrill Gorcunov wrote: > On Sat, Sep 10, 2016 at 10:31:35AM -0600, David Ahern wrote: >> >> 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. > > Should be something like below. Didn't tested it yet so for review only. > Will do testing at Monday.
doesn't compile: - raw_abort needs to be in a header for ipv6, and - inet_sk_diag_fill args have changed due to a recent commit