diff options
author | Zheng Da <zhengda1936@gmail.com> | 2010-02-07 05:36:34 +0100 |
---|---|---|
committer | Zheng Da <zhengda1936@gmail.com> | 2010-02-07 05:36:34 +0100 |
commit | b113a39b43277c44bb5af06d784aa834442bd626 (patch) | |
tree | 50c99a6807ad4170cb060d4a11621bbc8687ad9e | |
parent | 5c576064e0e6826d6ed93337245730b065bbdc8a (diff) |
initialize new fields in sk_buff.
-rw-r--r-- | libdde_linux26/lib/src/net/core/skbuff.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libdde_linux26/lib/src/net/core/skbuff.c b/libdde_linux26/lib/src/net/core/skbuff.c index 853b535b..2f65e534 100644 --- a/libdde_linux26/lib/src/net/core/skbuff.c +++ b/libdde_linux26/lib/src/net/core/skbuff.c @@ -201,6 +201,8 @@ struct sk_buff *__alloc_skb(unsigned int size, gfp_t gfp_mask, skb->data = data; skb_reset_tail_pointer(skb); skb->end = skb->tail + size; + skb->del_data = NULL; + skb->pre_del_func = NULL; /* make sure we initialize shinfo sequentially */ shinfo = skb_shinfo(skb); atomic_set(&shinfo->dataref, 1); |