On 11/2/16 6:36 AM, Cyrill Gorcunov wrote: > I managed to miss that sk_for_each is called under "for" > cycle so need to use goto here to return matching socket. > > CC: David S. Miller <[email protected]> > CC: Eric Dumazet <[email protected]> > CC: David Ahern <[email protected]> > CC: Andrey Vagin <[email protected]> > CC: Stephen Hemminger <[email protected]> > Signed-off-by: Cyrill Gorcunov <[email protected]> > --- > net/ipv4/raw_diag.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-)
Acked-by: David Ahern <[email protected]>
