diff options
Diffstat (limited to 'include/net/netlabel.h')
-rw-r--r-- | include/net/netlabel.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/netlabel.h b/include/net/netlabel.h index bdb10e5183d5..60ebbc1fef46 100644 --- a/include/net/netlabel.h +++ b/include/net/netlabel.h | |||
@@ -417,6 +417,7 @@ int netlbl_conn_setattr(struct sock *sk, | |||
417 | const struct netlbl_lsm_secattr *secattr); | 417 | const struct netlbl_lsm_secattr *secattr); |
418 | int netlbl_req_setattr(struct request_sock *req, | 418 | int netlbl_req_setattr(struct request_sock *req, |
419 | const struct netlbl_lsm_secattr *secattr); | 419 | const struct netlbl_lsm_secattr *secattr); |
420 | void netlbl_req_delattr(struct request_sock *req); | ||
420 | int netlbl_skbuff_setattr(struct sk_buff *skb, | 421 | int netlbl_skbuff_setattr(struct sk_buff *skb, |
421 | u16 family, | 422 | u16 family, |
422 | const struct netlbl_lsm_secattr *secattr); | 423 | const struct netlbl_lsm_secattr *secattr); |
@@ -547,6 +548,10 @@ static inline int netlbl_req_setattr(struct request_sock *req, | |||
547 | { | 548 | { |
548 | return -ENOSYS; | 549 | return -ENOSYS; |
549 | } | 550 | } |
551 | static inline void netlbl_req_delattr(struct request_sock *req) | ||
552 | { | ||
553 | return; | ||
554 | } | ||
550 | static inline int netlbl_skbuff_setattr(struct sk_buff *skb, | 555 | static inline int netlbl_skbuff_setattr(struct sk_buff *skb, |
551 | u16 family, | 556 | u16 family, |
552 | const struct netlbl_lsm_secattr *secattr) | 557 | const struct netlbl_lsm_secattr *secattr) |