]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1b1652a587ce629763f1e6554a508d37d904ec63
treee793907b69afcea0f6cf3d53dfe34a13ee6675ce
parentd2dbf76fb60c2c011f81409055b6dfd476e7edc6
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