summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-06-23 22:58:34 -0700
committerDavid S. Miller <davem@davemloft.net>2007-06-23 22:58:34 -0700
commitdbbeb2f9917792b989b6269ebfe24257f9aa1618 (patch)
treeea85eb5ffca0630b089ee5d300cb443b06545bab /net
parent8bfe6d68391af6171df789124fc3dfefeb392d9c (diff)
downloadlinux-dbbeb2f9917792b989b6269ebfe24257f9aa1618.tar.gz
linux-dbbeb2f9917792b989b6269ebfe24257f9aa1618.tar.bz2
linux-dbbeb2f9917792b989b6269ebfe24257f9aa1618.zip
[SKBUFF]: Fix incorrect config #ifdef around skb_copy_secmark
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>
Diffstat (limited to 'net')
-rw-r--r--net/core/skbuff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index 7c6a34e21eee..8d43ae6979e5 100644
--- a/net/core/skbuff.c
+++ b/net/core/skbuff.c
@@ -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);