commit | 9b42078ed6edfe04e9dc9a59b946ad912aeef717 | [log] [tgz] |
---|---|---|
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | Fri Nov 10 11:22:32 2006 -0200 |
committer | David S. Miller <davem@sunset.davemloft.net> | Sat Dec 02 21:21:55 2006 -0800 |
tree | d3d20e17aa85e1bb16b99397f98f151d197b3177 | |
parent | 89e7e57778ecd8744fee97491300f05a9fb1388a [diff] |
[DCCP]: Combine allocating & zeroing header space on skb This is a code simplification: it combines three often recurring operations into one inline function, * allocate `len' bytes header space in skb * fill these `len' bytes with zeroes * cast the start of this header space as dccp_hdr Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk> Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>