dhcp: truncate packets instead of padding them to 574 bytes. closes bug 1849
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 30 May 2010 22:45:09 +0000 (00:45 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 30 May 2010 22:45:09 +0000 (00:45 +0200)
commitb8b72f02f01017d0f9584666fa572221f2b58613
tree544348ff496fbba3f0c4c49d131cdeff8bb217c9
parente58c6e2e13030bea91f7cd41a62229b0f5927d51
dhcp: truncate packets instead of padding them to 574 bytes. closes bug 1849

function                                             old     new   delta
udhcp_send_raw_packet                                411     456     +45
udhcp_send_kernel_packet                             259     271     +12

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/udhcp/packet.c