diff options
author | Eric Dumazet <edumazet@google.com> | 2018-09-13 17:58:43 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-19 23:43:46 +0300 |
commit | 5b1b3ad46dd100932925e979562aeefaf9ef189e (patch) | |
tree | 981f7851982bcc1cdb6d1795a1d4cbe3e5a3ee42 /Documentation | |
parent | bd3df633f17d64523828d0ef5d74e4f1a768683c (diff) | |
download | linux-5b1b3ad46dd100932925e979562aeefaf9ef189e.tar.xz |
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>
(cherry picked from commit 399d1404be660d355192ff4df5ccc3f4159ec1e4)
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions