diff options
author | Eric Dumazet <edumazet@google.com> | 2018-03-31 21:58:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-01 05:25:39 +0200 |
commit | 2d44ed22e607f9a285b049de2263e3840673a260 (patch) | |
tree | f091493e1e872420c867d309afd9d03dc547f505 /net/ieee802154 | |
parent | inet: frags: get rif of inet_frag_evicting() (diff) | |
download | linux-2d44ed22e607f9a285b049de2263e3840673a260.tar.xz linux-2d44ed22e607f9a285b049de2263e3840673a260.zip |
inet: frags: remove inet_frag_maybe_warn_overflow()
This function is obsolete, after rhashtable addition to inet defrag.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ieee802154')
-rw-r--r-- | net/ieee802154/6lowpan/reassembly.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/ieee802154/6lowpan/reassembly.c b/net/ieee802154/6lowpan/reassembly.c index 0fa0121f85d4..1aec71a3f904 100644 --- a/net/ieee802154/6lowpan/reassembly.c +++ b/net/ieee802154/6lowpan/reassembly.c @@ -84,10 +84,9 @@ fq_find(struct net *net, const struct lowpan_802154_cb *cb, struct inet_frag_queue *q; q = inet_frag_find(&ieee802154_lowpan->frags, &key); - if (IS_ERR_OR_NULL(q)) { - inet_frag_maybe_warn_overflow(q, pr_fmt()); + if (!q) return NULL; - } + return container_of(q, struct lowpan_frag_queue, q); } |