aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/socket.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2010-03-26 20:27:49 -0700
committerDavid S. Miller <davem@davemloft.net>2010-03-26 20:27:49 -0700
commit4b97efdf392563bf03b4917a0b5add2df65de39a (patch)
tree4add83ac917bb6d8319fc48c64529fd607721151 /net/socket.c
parenttulip: Fix null dereference in uli526x_rx_packet() (diff)
downloadwireguard-linux-4b97efdf392563bf03b4917a0b5add2df65de39a.tar.xz
wireguard-linux-4b97efdf392563bf03b4917a0b5add2df65de39a.zip
net: fix netlink address dumping in IPv4/IPv6
When a dump is interrupted at the last device in a hash chain and then continued, "idx" won't get incremented past s_idx, so s_ip_idx is not reset when moving on to the next device. This means of all following devices only the last n - s_ip_idx addresses are dumped. Tested-by: Pawel Staszewski <pstaszewski@itcare.pl> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions