patch-2.4.23 linux-2.4.23/net/ipv4/devinet.c

Next file: linux-2.4.23/net/ipv4/icmp.c
Previous file: linux-2.4.23/net/ipv4/arp.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/net/ipv4/devinet.c linux-2.4.23/net/ipv4/devinet.c
@@ -883,6 +883,7 @@
 	unsigned char	 *b = skb->tail;
 
 	nlh = NLMSG_PUT(skb, pid, seq, event, sizeof(*ifm));
+	if (pid) nlh->nlmsg_flags |= NLM_F_MULTI;
 	ifm = NLMSG_DATA(nlh);
 	ifm->ifa_family = AF_INET;
 	ifm->ifa_prefixlen = ifa->ifa_prefixlen;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)