atm: br2684: Make headroom and hard_header_len depend on the payload type
authorPascal Hambourg <pascal@plouf.fr.eu.org>
Wed, 17 Aug 2011 06:37:18 +0000 (08:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Nov 2011 05:28:06 +0000 (00:28 -0500)
commit9e667b29880df842085150d60e26c60f141fff44
treeec49d63db929de2fc502107d4d5346ad6435dd32
parent08e29af3a9096ffdff477e537daea67faefd3952
atm: br2684: Make headroom and hard_header_len depend on the payload type

Routed payload requires less headroom than bridged payload.
So do not reallocate headroom if not needed.
Also, add worst case AAL5 overhead to netdev->hard_header_len.

Signed-off-by: Pascal Hambourg <pascal@plouf.fr.eu.org>
Signed-off-by: chas williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/atm/br2684.c