Searched hist:"149 d36f7187cbd10beff88e4e20f93e51a34827e" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ |
H A D | tun.c | diff 149d36f7187cbd10beff88e4e20f93e51a34827e Thu Nov 01 04:16:32 CDT 2012 Michael S. Tsirkin <mst@redhat.com> 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>
|