aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netlabel.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/netlabel.h')
-rw-r--r--include/net/netlabel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/netlabel.h b/include/net/netlabel.h
index 18b73cf507df..a3bffb4bb749 100644
--- a/include/net/netlabel.h
+++ b/include/net/netlabel.h
@@ -363,6 +363,7 @@ int netlbl_sock_setattr(struct sock *sk,
363int netlbl_sock_getattr(struct sock *sk, 363int netlbl_sock_getattr(struct sock *sk,
364 struct netlbl_lsm_secattr *secattr); 364 struct netlbl_lsm_secattr *secattr);
365int netlbl_skbuff_getattr(const struct sk_buff *skb, 365int netlbl_skbuff_getattr(const struct sk_buff *skb,
366 u16 family,
366 struct netlbl_lsm_secattr *secattr); 367 struct netlbl_lsm_secattr *secattr);
367void netlbl_skbuff_err(struct sk_buff *skb, int error); 368void netlbl_skbuff_err(struct sk_buff *skb, int error);
368 369
@@ -415,6 +416,7 @@ static inline int netlbl_sock_getattr(struct sock *sk,
415 return -ENOSYS; 416 return -ENOSYS;
416} 417}
417static inline int netlbl_skbuff_getattr(const struct sk_buff *skb, 418static inline int netlbl_skbuff_getattr(const struct sk_buff *skb,
419 u16 family,
418 struct netlbl_lsm_secattr *secattr) 420 struct netlbl_lsm_secattr *secattr)
419{ 421{
420 return -ENOSYS; 422 return -ENOSYS;