From: Michael S. Tsirkin Date: Thu, 1 Nov 2012 09:16:28 +0000 (+0000) Subject: skb: api to report errors for zero copy skbs X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~478 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25121173f7b1e4ac3fc692df6e7b8c52ec36abba;p=pandora-kernel.git skb: api to report errors for zero copy skbs Orphaning frags for zero copy skbs needs to allocate data in atomic context so is has a chance to fail. If it does we currently discard the skb which is safe, but we don't report anything to the caller, so it can not recover by e.g. disabling zero copy. Add an API to free skb reporting such errors: this is used by tun in case orphaning frags fails. Signed-off-by: Michael S. Tsirkin Signed-off-by: David S. Miller --- Reading git-diff-tree failed