xfrm: fix XFRMA_MARK extraction in xfrm_mark_get
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 30 Jun 2010 17:41:15 +0000 (10:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Jun 2010 17:43:31 +0000 (10:43 -0700)
commit4efd7e833591721bec21cc4730a7f6261417840f
tree9982ea86ad73f1142842070f4d9d1bf83ba318a0
parentd3ead2413cb99d3e6265577b12537434e229d8c2
xfrm: fix XFRMA_MARK extraction in xfrm_mark_get

Determine the size of the xfrm_mark struct, not of its pointer.

Signed-off-by: Andreas Steffen <andreas.steffen@strongswan.org>
Acked-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/xfrm.h