diff options
| author | Tony Luck <tony.luck@intel.com> | 2005-06-29 18:21:41 -0400 |
|---|---|---|
| committer | Tony Luck <tony.luck@intel.com> | 2005-06-29 18:21:41 -0400 |
| commit | d18bfacff20f08aecf01bb971b110ca108eef3c7 (patch) | |
| tree | 255f862839c593c796e609328575b611e3f56cf3 /net/sched/act_api.c | |
| parent | a68db763af9b676590c3fe9ec3f17bf18015eb2f (diff) | |
| parent | fd782a4a99d2d3e818b9465c427b10f7f027d7da (diff) | |
Auto merge with /home/aegl/GIT/linus
Diffstat (limited to 'net/sched/act_api.c')
| -rw-r--r-- | net/sched/act_api.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/net/sched/act_api.c b/net/sched/act_api.c index 9594206e6035..249c61936ea0 100644 --- a/net/sched/act_api.c +++ b/net/sched/act_api.c | |||
| @@ -439,6 +439,8 @@ tca_get_fill(struct sk_buff *skb, struct tc_action *a, u32 pid, u32 seq, | |||
| 439 | 439 | ||
| 440 | t = NLMSG_DATA(nlh); | 440 | t = NLMSG_DATA(nlh); |
| 441 | t->tca_family = AF_UNSPEC; | 441 | t->tca_family = AF_UNSPEC; |
| 442 | t->tca__pad1 = 0; | ||
| 443 | t->tca__pad2 = 0; | ||
| 442 | 444 | ||
| 443 | x = (struct rtattr*) skb->tail; | 445 | x = (struct rtattr*) skb->tail; |
| 444 | RTA_PUT(skb, TCA_ACT_TAB, 0, NULL); | 446 | RTA_PUT(skb, TCA_ACT_TAB, 0, NULL); |
| @@ -580,6 +582,8 @@ static int tca_action_flush(struct rtattr *rta, struct nlmsghdr *n, u32 pid) | |||
| 580 | nlh = NLMSG_PUT(skb, pid, n->nlmsg_seq, RTM_DELACTION, sizeof(*t)); | 582 | nlh = NLMSG_PUT(skb, pid, n->nlmsg_seq, RTM_DELACTION, sizeof(*t)); |
| 581 | t = NLMSG_DATA(nlh); | 583 | t = NLMSG_DATA(nlh); |
| 582 | t->tca_family = AF_UNSPEC; | 584 | t->tca_family = AF_UNSPEC; |
| 585 | t->tca__pad1 = 0; | ||
| 586 | t->tca__pad2 = 0; | ||
| 583 | 587 | ||
| 584 | x = (struct rtattr *) skb->tail; | 588 | x = (struct rtattr *) skb->tail; |
| 585 | RTA_PUT(skb, TCA_ACT_TAB, 0, NULL); | 589 | RTA_PUT(skb, TCA_ACT_TAB, 0, NULL); |
| @@ -687,7 +691,9 @@ static int tcf_add_notify(struct tc_action *a, u32 pid, u32 seq, int event, | |||
| 687 | nlh = NLMSG_NEW(skb, pid, seq, event, sizeof(*t), flags); | 691 | nlh = NLMSG_NEW(skb, pid, seq, event, sizeof(*t), flags); |
| 688 | t = NLMSG_DATA(nlh); | 692 | t = NLMSG_DATA(nlh); |
| 689 | t->tca_family = AF_UNSPEC; | 693 | t->tca_family = AF_UNSPEC; |
| 690 | 694 | t->tca__pad1 = 0; | |
| 695 | t->tca__pad2 = 0; | ||
| 696 | |||
| 691 | x = (struct rtattr*) skb->tail; | 697 | x = (struct rtattr*) skb->tail; |
| 692 | RTA_PUT(skb, TCA_ACT_TAB, 0, NULL); | 698 | RTA_PUT(skb, TCA_ACT_TAB, 0, NULL); |
| 693 | 699 | ||
| @@ -842,6 +848,8 @@ tc_dump_action(struct sk_buff *skb, struct netlink_callback *cb) | |||
| 842 | cb->nlh->nlmsg_type, sizeof(*t)); | 848 | cb->nlh->nlmsg_type, sizeof(*t)); |
| 843 | t = NLMSG_DATA(nlh); | 849 | t = NLMSG_DATA(nlh); |
| 844 | t->tca_family = AF_UNSPEC; | 850 | t->tca_family = AF_UNSPEC; |
| 851 | t->tca__pad1 = 0; | ||
| 852 | t->tca__pad2 = 0; | ||
| 845 | 853 | ||
| 846 | x = (struct rtattr *) skb->tail; | 854 | x = (struct rtattr *) skb->tail; |
| 847 | RTA_PUT(skb, TCA_ACT_TAB, 0, NULL); | 855 | RTA_PUT(skb, TCA_ACT_TAB, 0, NULL); |
