]> git.pld-linux.org Git - packages/iproute2.git/blob - iproute2-netlink.patch
- C:, release 17.
[packages/iproute2.git] / iproute2-netlink.patch
1 CAN-2003-0856 fix from RH
2 --- iproute2/lib/libnetlink.c.orig      2003-08-10 15:02:10.000000000 +1000
3 +++ iproute2/lib/libnetlink.c   2003-10-13 19:36:41.000000000 +1000
4 @@ -169,7 +169,8 @@
5                 while (NLMSG_OK(h, status)) {
6                         int err;
7  
8 -                       if (h->nlmsg_pid != rth->local.nl_pid ||
9 +                       if (nladdr.nl_pid != 0 ||
10 +                           h->nlmsg_pid != rth->local.nl_pid ||
11                             h->nlmsg_seq != rth->dump) {
12                                 if (junk) {
13                                         err = junk(&nladdr, h, arg2);
14 @@ -277,7 +278,8 @@
15                                 exit(1);
16                         }
17  
18 -                       if (h->nlmsg_pid != rtnl->local.nl_pid ||
19 +                       if (nladdr.nl_pid != peer ||
20 +                           h->nlmsg_pid != rtnl->local.nl_pid ||
21                             h->nlmsg_seq != seq) {
22                                 if (junk) {
23                                         err = junk(&nladdr, h, jarg);
This page took 0.02397 seconds and 3 git commands to generate.