diff options
author | Kumar Sanghvi <kumar.sanghvi@stericsson.com> | 2010-09-27 23:10:42 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-29 19:41:04 -0700 |
commit | a91e7d471e2e384035b9746ea707ccdcd353f5dd (patch) | |
tree | bcace390a9075fba545157872116249c40be0b5c /net/phonet/af_phonet.c | |
parent | 9337057d4335053dc14934a60d9c3e8fe4e32039 (diff) | |
download | linux-a91e7d471e2e384035b9746ea707ccdcd353f5dd.tar.bz2 |
Phonet: Correct header retrieval after pskb_may_pull
Retrieve the header after doing pskb_may_pull since, pskb_may_pull
could change the buffer structure.
This is based on the comment given by Eric Dumazet on Phonet
Pipe controller patch for a similar problem.
Signed-off-by: Kumar Sanghvi <kumar.sanghvi@stericsson.com>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: RĂ©mi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/phonet/af_phonet.c')
0 files changed, 0 insertions, 0 deletions