]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/dccp/output.c
[DCCP]: Use sk->sk_prot->max_header consistently for non-data packets
authorArnaldo Carvalho de Melo <acme@mandriva.com>
Tue, 21 Mar 2006 06:31:09 +0000 (22:31 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 06:31:09 +0000 (22:31 -0800)
commit118b2c9532c853ebdf15c21128d30a343b89ea45
tree1974a1850b4bfebb08424a241228ac66076c276f
parente5a6de915ba9ba828751ade5d3e874072a89a00a
[DCCP]: Use sk->sk_prot->max_header consistently for non-data packets

Using this also provides opportunities for introducing
inet_csk_alloc_skb that would call alloc_skb, account it to the sock
and skb_reserve(max_header), but I'll leave this for later, for now
using sk_prot->max_header consistently is enough.

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ipv4.c
net/dccp/ipv6.c
net/dccp/output.c