commit | a5b1cf288d4200506ab62fbb86cc81ace948a306 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Tue May 26 18:50:28 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed May 27 03:26:01 2009 -0700 |
tree | c95339866f4d67220d111811a92e5c6b79de6ab4 | |
parent | 7489594cb249aeb178287c9a43a9e4f366044259 [diff] |
gro: Avoid unnecessary comparison after skb_gro_header For the overwhelming majority of cases, skb_gro_header's return value cannot be NULL. Yet we must check it because of its current form. This patch splits it up into multiple functions in order to avoid this. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>