commit | 149d36f7187cbd10beff88e4e20f93e51a34827e | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Thu Nov 01 09:16:32 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 02 21:29:57 2012 -0400 |
tree | 600293aadc93c8f5d5d48bba03fa8087d35e46c7 | |
parent | 25121173f7b1e4ac3fc692df6e7b8c52ec36abba [diff] |
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>