diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2007-02-09 09:25:29 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-02-11 02:20:24 -0500 |
commit | a716c1197d608c55adfba45692a890ca64e10df0 (patch) | |
tree | 07750556a958649d44776b877be0e41f8dfd33d1 /net/xfrm/xfrm_user.c | |
parent | f8e1d20183bf56f889d60edadd48f54912b9277f (diff) |
[NET] XFRM: Fix whitespace errors.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_user.c')
-rw-r--r-- | net/xfrm/xfrm_user.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c index 079a5d315759..d55436d00e86 100644 --- a/net/xfrm/xfrm_user.c +++ b/net/xfrm/xfrm_user.c | |||
@@ -48,7 +48,7 @@ static int verify_one_alg(struct rtattr **xfrma, enum xfrm_attr_type_t type) | |||
48 | 48 | ||
49 | algp = RTA_DATA(rt); | 49 | algp = RTA_DATA(rt); |
50 | 50 | ||
51 | len -= (algp->alg_key_len + 7U) / 8; | 51 | len -= (algp->alg_key_len + 7U) / 8; |
52 | if (len < 0) | 52 | if (len < 0) |
53 | return -EINVAL; | 53 | return -EINVAL; |
54 | 54 | ||
@@ -1107,7 +1107,7 @@ static int copy_sec_ctx(struct xfrm_sec_ctx *s, struct sk_buff *skb) | |||
1107 | uctx->ctx_alg = s->ctx_alg; | 1107 | uctx->ctx_alg = s->ctx_alg; |
1108 | uctx->ctx_len = s->ctx_len; | 1108 | uctx->ctx_len = s->ctx_len; |
1109 | memcpy(uctx + 1, s->ctx_str, s->ctx_len); | 1109 | memcpy(uctx + 1, s->ctx_str, s->ctx_len); |
1110 | return 0; | 1110 | return 0; |
1111 | 1111 | ||
1112 | rtattr_failure: | 1112 | rtattr_failure: |
1113 | return -1; | 1113 | return -1; |
@@ -2467,7 +2467,7 @@ static int __init xfrm_user_init(void) | |||
2467 | printk(KERN_INFO "Initializing XFRM netlink socket\n"); | 2467 | printk(KERN_INFO "Initializing XFRM netlink socket\n"); |
2468 | 2468 | ||
2469 | nlsk = netlink_kernel_create(NETLINK_XFRM, XFRMNLGRP_MAX, | 2469 | nlsk = netlink_kernel_create(NETLINK_XFRM, XFRMNLGRP_MAX, |
2470 | xfrm_netlink_rcv, THIS_MODULE); | 2470 | xfrm_netlink_rcv, THIS_MODULE); |
2471 | if (nlsk == NULL) | 2471 | if (nlsk == NULL) |
2472 | return -ENOMEM; | 2472 | return -ENOMEM; |
2473 | rcu_assign_pointer(xfrm_nl, nlsk); | 2473 | rcu_assign_pointer(xfrm_nl, nlsk); |