]> git.baikalelectronics.ru Git - kernel.git/commit
net: remove a dubious unlikely() clause
authorEric Dumazet <edumazet@google.com>
Sun, 20 Mar 2016 18:27:47 +0000 (11:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 20 Mar 2016 20:24:07 +0000 (16:24 -0400)
commit0527322a6be5903b49b954746e32dbdbc1bf1309
tree3186ffe72f3d5fdf46023d453ac2fa2dc780a83e
parentb0e0f46bf19bf1d8045994e3e6d9e70dd0da8308
net: remove a dubious unlikely() clause

TCP protocol is still used these days, and TCP uses
clones in its transmit path. We can not optimize linux
stack assuming it is mostly used in routers, or that TCP
is dead.

Fixes: 21fae965f1 ("net: bulk free infrastructure for NAPI context, use napi_consume_skb")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c