Home
last modified time | relevance | path

Searched refs:tmp_addrs (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/net/mctp/
Ddevice.c200 u8 *tmp_addrs; in mctp_rtm_newaddr() local
233 tmp_addrs = kmalloc(mdev->num_addrs + 1, GFP_KERNEL); in mctp_rtm_newaddr()
234 if (!tmp_addrs) in mctp_rtm_newaddr()
236 memcpy(tmp_addrs, mdev->addrs, mdev->num_addrs); in mctp_rtm_newaddr()
237 tmp_addrs[mdev->num_addrs] = addr->s_addr; in mctp_rtm_newaddr()
242 swap(mdev->addrs, tmp_addrs); in mctp_rtm_newaddr()
245 kfree(tmp_addrs); in mctp_rtm_newaddr()