aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2007-11-20 02:47:58 +0000
committerDavid S. Miller <[email protected]>2008-01-28 22:53:53 +0000
commit60d5fcfb19d8a958fc563e52240cd05ec23f36c9 (patch)
treef1bb64a18b1b183ad1cdf84f88a42a0b643af720 /security/selinux/hooks.c
parent[IPSEC]: Make x->lastused an unsigned long (diff)
downloadkernel-60d5fcfb19d8a958fc563e52240cd05ec23f36c9.tar.gz
kernel-60d5fcfb19d8a958fc563e52240cd05ec23f36c9.zip
[IPSEC]: Remove nhoff from xfrm_input
The nhoff field isn't actually necessary in xfrm_input. For tunnel mode transforms we now throw away the output IP header so it makes no sense to fill in the nexthdr field. For transport mode we can now let the function transport_finish do the setting and it knows where the nexthdr field is. The only other thing that needs the nexthdr field to be set is the header extraction code. However, we can simply move the protocol extraction out of the generic header extraction. We want to minimise the amount of info we have to carry around between transforms as this simplifies the resumption process for async crypto. Signed-off-by: Herbert Xu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions