xfrm: clone mark when cloning policy
authorJamal Hadi Salim <hadi@cyberus.ca>
Tue, 23 Feb 2010 23:09:53 +0000 (15:09 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Feb 2010 23:09:53 +0000 (15:09 -0800)
commitfb977e2ca607a7e74946a1de798f474d1b80b9d6
tree5e966bbf23b524d9ae58ce5f962103e715c58fc6
parent10886af54a2478f97f2d5f89bbe270b99206f8ab
xfrm: clone mark when cloning policy

When we clone the SP, we should also clone the mark.
Useful for socket based SPs.

Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_policy.c