net: fix deliver_no_wcard regression on loopback device
authorJohn Fastabend <john.r.fastabend@intel.com>
Sun, 13 Jun 2010 10:36:30 +0000 (10:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Jun 2010 00:12:40 +0000 (17:12 -0700)
commite897082fe7a5b591dc4dd5599ac39081a7c8e482
tree9d33789a1cbdffc0e77a1187d32b0051eb7648c4
parentd49aba84fe775671133295658f43f4d142a517f9
net: fix deliver_no_wcard regression on loopback device

deliver_no_wcard is not being set in skb_copy_header.
In the skb_cloned case it is not being cleared and
may cause the skb to be dropped when the loopback device
pushes it back up the stack.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Tested-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c