diff options
Diffstat (limited to 'security/selinux/netlabel.c')
-rw-r--r-- | security/selinux/netlabel.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/security/selinux/netlabel.c b/security/selinux/netlabel.c index 2534400317c5..3d09a2afc33c 100644 --- a/security/selinux/netlabel.c +++ b/security/selinux/netlabel.c | |||
@@ -131,21 +131,21 @@ void selinux_netlbl_err(struct sk_buff *skb, int error, int gateway) | |||
131 | 131 | ||
132 | /** | 132 | /** |
133 | * selinux_netlbl_sk_security_free - Free the NetLabel fields | 133 | * selinux_netlbl_sk_security_free - Free the NetLabel fields |
134 | * @sssec: the sk_security_struct | 134 | * @sksec: the sk_security_struct |
135 | * | 135 | * |
136 | * Description: | 136 | * Description: |
137 | * Free all of the memory in the NetLabel fields of a sk_security_struct. | 137 | * Free all of the memory in the NetLabel fields of a sk_security_struct. |
138 | * | 138 | * |
139 | */ | 139 | */ |
140 | void selinux_netlbl_sk_security_free(struct sk_security_struct *ssec) | 140 | void selinux_netlbl_sk_security_free(struct sk_security_struct *sksec) |
141 | { | 141 | { |
142 | if (ssec->nlbl_secattr != NULL) | 142 | if (sksec->nlbl_secattr != NULL) |
143 | netlbl_secattr_free(ssec->nlbl_secattr); | 143 | netlbl_secattr_free(sksec->nlbl_secattr); |
144 | } | 144 | } |
145 | 145 | ||
146 | /** | 146 | /** |
147 | * selinux_netlbl_sk_security_reset - Reset the NetLabel fields | 147 | * selinux_netlbl_sk_security_reset - Reset the NetLabel fields |
148 | * @ssec: the sk_security_struct | 148 | * @sksec: the sk_security_struct |
149 | * @family: the socket family | 149 | * @family: the socket family |
150 | * | 150 | * |
151 | * Description: | 151 | * Description: |
@@ -153,9 +153,9 @@ void selinux_netlbl_sk_security_free(struct sk_security_struct *ssec) | |||
153 | * The caller is responsibile for all the NetLabel sk_security_struct locking. | 153 | * The caller is responsibile for all the NetLabel sk_security_struct locking. |
154 | * | 154 | * |
155 | */ | 155 | */ |
156 | void selinux_netlbl_sk_security_reset(struct sk_security_struct *ssec) | 156 | void selinux_netlbl_sk_security_reset(struct sk_security_struct *sksec) |
157 | { | 157 | { |
158 | ssec->nlbl_state = NLBL_UNSET; | 158 | sksec->nlbl_state = NLBL_UNSET; |
159 | } | 159 | } |
160 | 160 | ||
161 | /** | 161 | /** |