summaryrefslogtreecommitdiffstats
path: root/net/bridge
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2006-06-09 16:11:27 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-06-17 21:30:18 -0700
commitc8c9f9a3de2c50c876b1068dd41f9a06c5749f80 (patch)
tree18cb4685232e030518d637fa7496a95bc69fc6d8 /net/bridge
parent364c6badde0dd62a0a38e5ed67f85d87d6665780 (diff)
downloadblackbird-op-linux-c8c9f9a3de2c50c876b1068dd41f9a06c5749f80.tar.gz
blackbird-op-linux-c8c9f9a3de2c50c876b1068dd41f9a06c5749f80.zip
[NET] ppp: Remove unnecessary pskb_may_pull
In ppp_receive_nonmp_frame, we call pskb_may_pull(skb, skb->len) if the tailroom is >= 124. This is pointless because this pskb_may_pull is only needed if the skb is non-linear. However, if it is non-linear then the tailroom would be zero. So it can be safely removed. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud