Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 314654
b: refs/heads/master
c: c3deafc
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Jun 27, 2012
1 parent cd76b70 commit 2d8e31c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 02ef22ca4044fe90867f77cba720e4a442122826
refs/heads/master: c3deafc5261a9421b315ee0d0e8e36ba7857128c
8 changes: 0 additions & 8 deletions trunk/include/linux/netlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -241,14 +241,6 @@ struct netlink_notify {
struct nlmsghdr *
__nlmsg_put(struct sk_buff *skb, u32 pid, u32 seq, int type, int len, int flags);

#define NLMSG_NEW(skb, pid, seq, type, len, flags) \
({ if (unlikely(skb_tailroom(skb) < (int)NLMSG_SPACE(len))) \
goto nlmsg_failure; \
__nlmsg_put(skb, pid, seq, type, len, flags); })

#define NLMSG_PUT(skb, pid, seq, type, len) \
NLMSG_NEW(skb, pid, seq, type, len, 0)

struct netlink_dump_control {
int (*dump)(struct sk_buff *skb, struct netlink_callback *);
int (*done)(struct netlink_callback*);
Expand Down

0 comments on commit 2d8e31c

Please sign in to comment.