diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2012-11-01 10:16:32 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-03 02:29:57 +0100 |
commit | 149d36f7187cbd10beff88e4e20f93e51a34827e (patch) | |
tree | 600293aadc93c8f5d5d48bba03fa8087d35e46c7 /drivers/regulator | |
parent | skb: api to report errors for zero copy skbs (diff) | |
download | linux-149d36f7187cbd10beff88e4e20f93e51a34827e.tar.xz linux-149d36f7187cbd10beff88e4e20f93e51a34827e.zip |
tun: report orphan frags errors to zero copy callback
When tun transmits a zero copy skb, it orphans the frags
which might need to allocate extra memory, in atomic context.
If that fails, notify ubufs callback before freeing the skb
as a hint that device should disable zerocopy mode.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/regulator')
0 files changed, 0 insertions, 0 deletions