aboutsummaryrefslogtreecommitdiffstats
path: root/net/netlabel
diff options
context:
space:
mode:
Diffstat (limited to 'net/netlabel')
-rw-r--r--net/netlabel/netlabel_kapi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/netlabel/netlabel_kapi.c b/net/netlabel/netlabel_kapi.c
index d3762ea24957..49146153f235 100644
--- a/net/netlabel/netlabel_kapi.c
+++ b/net/netlabel/netlabel_kapi.c
@@ -332,6 +332,7 @@ int netlbl_sock_getattr(struct sock *sk, struct netlbl_lsm_secattr *secattr)
332/** 332/**
333 * netlbl_skbuff_getattr - Determine the security attributes of a packet 333 * netlbl_skbuff_getattr - Determine the security attributes of a packet
334 * @skb: the packet 334 * @skb: the packet
335 * @family: protocol family
335 * @secattr: the security attributes 336 * @secattr: the security attributes
336 * 337 *
337 * Description: 338 * Description:
@@ -342,6 +343,7 @@ int netlbl_sock_getattr(struct sock *sk, struct netlbl_lsm_secattr *secattr)
342 * 343 *
343 */ 344 */
344int netlbl_skbuff_getattr(const struct sk_buff *skb, 345int netlbl_skbuff_getattr(const struct sk_buff *skb,
346 u16 family,
345 struct netlbl_lsm_secattr *secattr) 347 struct netlbl_lsm_secattr *secattr)
346{ 348{
347 if (CIPSO_V4_OPTEXIST(skb) && 349 if (CIPSO_V4_OPTEXIST(skb) &&