]> git.proxmox.com Git - mirror_iproute2.git/commit
ipaddress: fix ipaddr_flush for Linux >= 3.1
authorPhil Sutter <phil@nwl.cc>
Tue, 24 Nov 2015 14:31:02 +0000 (15:31 +0100)
committerStephen Hemminger <shemming@brocade.com>
Sun, 29 Nov 2015 19:47:29 +0000 (11:47 -0800)
commitd25ec03e1dce4cf22093a9f7106e9401ab5bf066
tree7c55e46e1314e06ce6659c18daa9038a45d8b559
parent8e72880f6bfa39f439b9c4a88eb84b635b991687
ipaddress: fix ipaddr_flush for Linux >= 3.1

Linux version 3.1 introduced a consistency check for netlink dumps in
commit 670dc28 ("netlink: advertise incomplete dumps"). This bites
iproute2 when flushing more addresses than can fit into a single
RTM_GETADDR response. To silence the spurious error message "Dump was
interrupted and may be inconsistent.", advise rtnl_dump_filter_l() to
not care about NLM_F_DUMP_INTR.

Signed-off-by: Phil Sutter <phil@nwl.cc>
ip/ipaddress.c