From: Paul Moore Date: Thu, 6 Dec 2012 05:48:38 +0000 (+0000) Subject: tun: correctly report an error in tun_flow_init() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3943aef7ecfcc47609136f46773e9a839c950b0;p=pandora-kernel.git tun: correctly report an error in tun_flow_init() On error, the error code from tun_flow_init() is lost inside tun_set_iff(), this patch fixes this by assigning the tun_flow_init() error code to the "err" variable which is returned by the tun_flow_init() function on error. Signed-off-by: Paul Moore Acked-by: Jason Wang Signed-off-by: David S. Miller --- Reading git-diff-tree failed