From: Michael S. Tsirkin Date: Thu, 1 Nov 2012 09:16:32 +0000 (+0000) Subject: tun: report orphan frags errors to zero copy callback X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~477 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=149d36f7187cbd10beff88e4e20f93e51a34827e;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed