diff options
author | Kumar Sanghvi <kumar.sanghvi@stericsson.com> | 2010-09-28 01:10:42 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-30 04:41:04 +0200 |
commit | a91e7d471e2e384035b9746ea707ccdcd353f5dd (patch) | |
tree | bcace390a9075fba545157872116249c40be0b5c /net/phonet/pn_dev.c | |
parent | um: Proper Fix for f25c80a4: remove duplicate structure field initialization (diff) | |
download | linux-a91e7d471e2e384035b9746ea707ccdcd353f5dd.tar.xz linux-a91e7d471e2e384035b9746ea707ccdcd353f5dd.zip |
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/pn_dev.c')
0 files changed, 0 insertions, 0 deletions