[SKBUFF]: Fix incorrect config #ifdef around skb_copy_secmark
authorPatrick McHardy <kaber@trash.net>
Sun, 24 Jun 2007 05:58:34 +0000 (22:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Jun 2007 05:58:34 +0000 (22:58 -0700)
secmark doesn't depend on CONFIG_NET_SCHED.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Acked-by: James Morris <jmorris@namei.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c

index 7c6a34e21eee74e4402d4d9cd09d88fd1aeb1e37..8d43ae6979e53e8495c3ab09bc4d2cbf361a49d1 100644 (file)
@@ -434,8 +434,8 @@ struct sk_buff *skb_clone(struct sk_buff *skb, gfp_t gfp_mask)
        n->tc_verd = CLR_TC_MUNGED(n->tc_verd);
        C(iif);
 #endif
-       skb_copy_secmark(n, skb);
 #endif
+       skb_copy_secmark(n, skb);
        C(truesize);
        atomic_set(&n->users, 1);
        C(head);