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)
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>

No differences found