X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=net%2Fipv4%2Finet_fragment.c;h=3b01959bf4bb0bbc208d8d564c8595c67eedd179;hb=72c2dfdefa42c747c8e61f3d3ebfafc8e8d5762f;hp=322dcebfc588bde809d2e146a01d455a43268f36;hpb=24b9bf43e93e0edd89072da51cf1fab95fc69dec;p=~andy%2Flinux diff --git a/net/ipv4/inet_fragment.c b/net/ipv4/inet_fragment.c index 322dcebfc58..3b01959bf4b 100644 --- a/net/ipv4/inet_fragment.c +++ b/net/ipv4/inet_fragment.c @@ -208,7 +208,7 @@ int inet_frag_evictor(struct netns_frags *nf, struct inet_frags *f, bool force) } work = frag_mem_limit(nf) - nf->low_thresh; - while (work > 0) { + while (work > 0 || force) { spin_lock(&nf->lru_lock); if (list_empty(&nf->lru_list)) {