]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit94e7a79feba4aeddb795f27ffea309fe2336d1f3
treecb56aa7a35eb44121379f4e44e63d99caad50490
parent939aaf518cdc23e9babc6553e13543f0461a34bf
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