| 1 |
typedef struct {} spinlock_t; |
| 2 |
struct sk_buff_head { |
| 3 |
int i; |
| 4 |
spinlock_t lock; |
| 5 |
}; |
| 6 |
struct sk_buff_head audit_skb_queue; |
| 7 |
void audit_init(void) |
| 8 |
{ |
| 9 |
struct sk_buff_head *list = &audit_skb_queue; |
| 10 |
spinlock_t a = {}; |
| 11 |
audit_skb_queue.lock = a; |
| 12 |
} |