ipconfig: Only bootp paths should reference ic_dev_xid.
authorDavid S. Miller <davem@davemloft.net>
Thu, 10 Jul 2014 05:25:18 +0000 (22:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Jul 2014 05:25:18 +0000 (22:25 -0700)
commit405fd707196d596f59a510d176dedc979c1ae34b
treee793907b69afcea0f6cf3d53dfe34a13ee6675ce
parent5edbf7dfeac62ed062e46a1ebf78da764ff23205
ipconfig: Only bootp paths should reference ic_dev_xid.

It is only tested, and declared, in the bootp code.

So, in ic_dynamic() guard it's setting with IPCONFIG_BOOTP.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipconfig.c