aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/net/netlabel.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/net/netlabel.h b/include/net/netlabel.h
index 5303749b7093..e16db0961265 100644
--- a/include/net/netlabel.h
+++ b/include/net/netlabel.h
@@ -382,7 +382,7 @@ int netlbl_sock_getattr(struct sock *sk,
382int netlbl_skbuff_getattr(const struct sk_buff *skb, 382int netlbl_skbuff_getattr(const struct sk_buff *skb,
383 u16 family, 383 u16 family,
384 struct netlbl_lsm_secattr *secattr); 384 struct netlbl_lsm_secattr *secattr);
385void netlbl_skbuff_err(struct sk_buff *skb, int error); 385void netlbl_skbuff_err(struct sk_buff *skb, int error, int gateway);
386 386
387/* 387/*
388 * LSM label mapping cache operations 388 * LSM label mapping cache operations
@@ -454,7 +454,9 @@ static inline int netlbl_skbuff_getattr(const struct sk_buff *skb,
454{ 454{
455 return -ENOSYS; 455 return -ENOSYS;
456} 456}
457static inline void netlbl_skbuff_err(struct sk_buff *skb, int error) 457static inline void netlbl_skbuff_err(struct sk_buff *skb,
458 int error,
459 int gateway)
458{ 460{
459 return; 461 return;
460} 462}