diff options
author | Patrick McHardy <kaber@trash.net> | 2007-06-24 01:58:34 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-06-24 01:58:34 -0400 |
commit | dbbeb2f9917792b989b6269ebfe24257f9aa1618 (patch) | |
tree | ea85eb5ffca0630b089ee5d300cb443b06545bab /net | |
parent | 8bfe6d68391af6171df789124fc3dfefeb392d9c (diff) |
[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.c | 2 |
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) | |||
434 | n->tc_verd = CLR_TC_MUNGED(n->tc_verd); | 434 | n->tc_verd = CLR_TC_MUNGED(n->tc_verd); |
435 | C(iif); | 435 | C(iif); |
436 | #endif | 436 | #endif |
437 | skb_copy_secmark(n, skb); | ||
438 | #endif | 437 | #endif |
438 | skb_copy_secmark(n, skb); | ||
439 | C(truesize); | 439 | C(truesize); |
440 | atomic_set(&n->users, 1); | 440 | atomic_set(&n->users, 1); |
441 | C(head); | 441 | C(head); |