ipv4: fix a memory leak in ic_bootp_send_if
authorRongQing.Li <roy.qing.li@gmail.com>
Mon, 14 Nov 2011 19:37:24 +0000 (14:37 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Nov 2011 19:37:24 +0000 (14:37 -0500)
commitad79eefc42d56cb851a2b28a86e481cf1161005e
treecb56aa7a35eb44121379f4e44e63d99caad50490
parent5219e4c93c281377700206ae2b3ba4d91653d2ba
ipv4: fix a memory leak in ic_bootp_send_if

when dev_hard_header() failed, the newly allocated skb should be freed.

Signed-off-by: RongQing.Li <roy.qing.li@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipconfig.c