diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-29 21:54:48 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-29 21:54:48 -0400 |
commit | bf603625660b1742004bf86432ce3c210d14d4fd (patch) | |
tree | db327975e92e01f2f2badb8ec5ae55282f156674 /net/netlabel/netlabel_user.h | |
parent | fbe96f92b3d9450e77a3a4bb1d46aa1bb908c1ab (diff) | |
parent | 6656e3c4c8e0c80f2d2bfece574876d269f64861 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6:
[ATM]: [lec] use refcnt to protect lec_arp_entries outside lock
[ATM]: [lec] add reference counting to lec_arp entries
[ATM]: [lec] use work queue instead of timer for lec arp expiry
[ATM]: [lec] old_close is no longer used
[ATM]: [lec] convert lec_arp_table to hlist
[ATM]: [lec] header indent, comment and whitespace cleanup
[ATM]: [lec] indent, comment and whitespace cleanup [continued]
[ATM]: [lec] indent, comment and whitespace cleanup
[SCTP]: Do not timestamp every SCTP packet.
[SCTP]: Use correct mask when disabling PMTUD.
[SCTP]: Include sk_buff overhead while updating the peer's receive window.
[SCTP]: Enable Nagle algorithm by default.
[BNX2]: Disable MSI on 5706 if AMD 8132 bridge is present.
[NetLabel]: audit fixups due to delayed feedback
Diffstat (limited to 'net/netlabel/netlabel_user.h')
-rw-r--r-- | net/netlabel/netlabel_user.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/net/netlabel/netlabel_user.h b/net/netlabel/netlabel_user.h index ab840acfc964..47967ef32964 100644 --- a/net/netlabel/netlabel_user.h +++ b/net/netlabel/netlabel_user.h | |||
@@ -72,13 +72,25 @@ static inline void *netlbl_netlink_hdr_put(struct sk_buff *skb, | |||
72 | NETLBL_PROTO_VERSION); | 72 | NETLBL_PROTO_VERSION); |
73 | } | 73 | } |
74 | 74 | ||
75 | /** | ||
76 | * netlbl_netlink_auditinfo - Fetch the audit information from a NETLINK msg | ||
77 | * @skb: the packet | ||
78 | * @audit_info: NetLabel audit information | ||
79 | */ | ||
80 | static inline void netlbl_netlink_auditinfo(struct sk_buff *skb, | ||
81 | struct netlbl_audit *audit_info) | ||
82 | { | ||
83 | audit_info->secid = NETLINK_CB(skb).sid; | ||
84 | audit_info->loginuid = NETLINK_CB(skb).loginuid; | ||
85 | } | ||
86 | |||
75 | /* NetLabel NETLINK I/O functions */ | 87 | /* NetLabel NETLINK I/O functions */ |
76 | 88 | ||
77 | int netlbl_netlink_init(void); | 89 | int netlbl_netlink_init(void); |
78 | 90 | ||
79 | /* NetLabel Audit Functions */ | 91 | /* NetLabel Audit Functions */ |
80 | 92 | ||
81 | struct audit_buffer *netlbl_audit_start_common(int type, u32 secid); | 93 | struct audit_buffer *netlbl_audit_start_common(int type, |
82 | void netlbl_audit_nomsg(int type, u32 secid); | 94 | struct netlbl_audit *audit_info); |
83 | 95 | ||
84 | #endif | 96 | #endif |