Eric Dumazet 399d1404be inet: frags: get rif of inet_frag_evicting()
This refactors ip_expire() since one indentation level is removed.

Note: in the future, we should try hard to avoid the skb_clone()
since this is a serious performance cost.
Under DDOS, the ICMP message wont be sent because of rate limits.

Fact that ip6_expire_frag_queue() does not use skb_clone() is
disturbing too. Presumably IPv6 should have the same
issue than the one we fixed in commit ec4fbd64751d
("inet: frag: release spinlock before calling icmp_send()")

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-03-31 23:25:39 -04:00
..
2018-02-06 10:32:13 +01:00
2018-02-02 10:01:04 -08:00
2018-03-26 11:34:00 -04:00
2018-03-07 10:50:15 -08:00
2018-03-01 14:32:23 -08:00
2018-03-31 22:19:52 -04:00
2018-02-07 13:10:43 -08:00