Bug #223 » 0001-batman-adv-TEST-if-batadv_frag_clear_chain-is-valid.patch
net/batman-adv/fragmentation.c | ||
---|---|---|
#include "main.h"
|
||
#include <linux/atomic.h>
|
||
#include <linux/bug.h>
|
||
#include <linux/byteorder/generic.h>
|
||
#include <linux/etherdevice.h>
|
||
#include <linux/fs.h>
|
||
... | ... | |
struct hlist_node *node;
|
||
hlist_for_each_entry_safe(entry, node, head, list) {
|
||
BUG_ON(entry->list.pprev != &head->first);
|
||
hlist_del(&entry->list);
|
||
kfree_skb(entry->skb);
|
||
kfree(entry);
|