diff options
author | David S. Miller <davem@davemloft.net> | 2013-02-14 15:57:38 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-02-14 15:57:38 -0500 |
commit | 9754e293491e3a4e6c1ac020d25140b1ed3d9cd2 (patch) | |
tree | 72273ca8e34846ac586a520b792c147bd95cd498 /fs/adfs | |
parent | ba7797119b486bb5992beda74bdb26be9a291b46 (diff) | |
download | linux-stable-9754e293491e3a4e6c1ac020d25140b1ed3d9cd2.tar.gz linux-stable-9754e293491e3a4e6c1ac020d25140b1ed3d9cd2.tar.bz2 linux-stable-9754e293491e3a4e6c1ac020d25140b1ed3d9cd2.zip |
net: Don't write to current task flags on every packet received.
Even for non-pfmalloc SKBs, __netif_receive_skb() will do a
tsk_restore_flags() on current unconditionally.
Make __netif_receive_skb() a shim around the existing code, renamed to
__netif_receive_skb_core(). Let __netif_receive_skb() wrap the
__netif_receive_skb_core() call with the task flag modifications, if
necessary.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/adfs')
0 files changed, 0 insertions, 0 deletions