From: nhorman Date: Wed, 14 Sep 2011 03:05:02 +0000 (+0000) Subject: net: don't clear IFF_XMIT_DST_RELEASE in ether_setup X-Git-Tag: v3.1-rc7~25^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31dda0ae933bb9fea9cfe000b698c41af0417cac;p=pandora-kernel.git net: don't clear IFF_XMIT_DST_RELEASE in ether_setup d88733150 introduced the IFF_SKB_TX_SHARING flag, which I unilaterally set in ether_setup. In doing this I didn't realize that other flags (such as IFF_XMIT_DST_RELEASE) might be set prior to calling the ether_setup routine. This patch changes ether_setup to or in SKB_TX_SHARING so as not to inadvertently clear other existing flags. Thanks to Pekka Riikonen for pointing out my error Signed-off-by: Neil Horman Reported-by: Pekka Riikonen CC: "David S. Miller" Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed