diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2019-06-07 21:20:39 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-09 19:40:10 -0700 |
commit | 49eef82dcd5498718ad49305514c56a2c3b7dee0 (patch) | |
tree | e4e5aaa0b682920955207976a2a96ed674411e65 /net/nfc | |
parent | 3a89aae4b49e2df99fff112cdd055f1a67971623 (diff) |
tg3: Use napi_alloc_frag()
tg3_alloc_rx_data() uses netdev_alloc_frag() for skb allocation. All
callers of tg3_alloc_rx_data() either hold tp->lock (which is held with
BH disabled) or run in NAPI context.
Use napi_alloc_frag() for skb allocations.
Cc: Siva Reddy Kallam <siva.kallam@broadcom.com>
Cc: Prashant Sreedharan <prashant@broadcom.com>
Cc: Michael Chan <mchan@broadcom.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/nfc')
0 files changed, 0 insertions, 0 deletions