Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290483
b: refs/heads/master
c: 7175c88
h: refs/heads/master
i:
  290481: 357a18f
  290479: 3d4c95c
v: v3
  • Loading branch information
Pablo Neira Ayuso authored and David S. Miller committed Feb 26, 2012
1 parent 9df4857 commit cc48ad4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 80d326fab534a5380e8f6e509a0b9076655a9670
refs/heads/master: 7175c883071515f0d4c1cece2646203b8a5a7415
2 changes: 2 additions & 0 deletions trunk/include/linux/netlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ struct netlink_callback {
int (*dump)(struct sk_buff * skb,
struct netlink_callback *cb);
int (*done)(struct netlink_callback *cb);
void *data;
u16 family;
u16 min_dump_alloc;
unsigned int prev_seq, seq;
Expand All @@ -251,6 +252,7 @@ __nlmsg_put(struct sk_buff *skb, u32 pid, u32 seq, int type, int len, int flags)
struct netlink_dump_control {
int (*dump)(struct sk_buff *skb, struct netlink_callback *);
int (*done)(struct netlink_callback*);
void *data;
u16 min_dump_alloc;
};

Expand Down
1 change: 1 addition & 0 deletions trunk/net/netlink/af_netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -1750,6 +1750,7 @@ int netlink_dump_start(struct sock *ssk, struct sk_buff *skb,
cb->dump = control->dump;
cb->done = control->done;
cb->nlh = nlh;
cb->data = control->data;
cb->min_dump_alloc = control->min_dump_alloc;
atomic_inc(&skb->users);
cb->skb = skb;
Expand Down

0 comments on commit cc48ad4

Please sign in to comment.