OSDN Git Service

ipv6: frags: rewrite ip6_expire_frag_queue()
authorEric Dumazet <edumazet@google.com>
Wed, 10 Oct 2018 19:30:02 +0000 (12:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Feb 2019 10:25:31 +0000 (11:25 +0100)
commitbf8187348f264b720d5bc165703afeb1dee36f14
tree064759edf08e3466c6362903c58d7c4bf2b8317a
parentf925a29652a00e312d373b19f177af17be4ba5be
ipv6: frags: rewrite ip6_expire_frag_queue()

commit 05c0b86b9696802fd0ce5676a92a63f1b455bdf3 upstream.

Make it similar to IPv4 ip_expire(), and release the lock
before calling icmp functions.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
[bwh: Backported to 4.4: adjust context]
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv6/reassembly.c