diff options
| author | Sven Eckelmann <[email protected]> | 2010-05-07 21:47:27 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2010-05-11 13:42:40 -0700 |
| commit | 202cfe106012c3917543ed8792be1affc37f107b (patch) | |
| tree | dc7aa9ebc4eeaed9c619d4c0c14ec4ca2d21bfdd /tools | |
| parent | 7d02d777d4a7eb551999a35f52480c9ddac3d874 (diff) | |
Staging: batman-adv: Update pointer to ethhdr after skb_copy
We must ensure that all pointer to a socket buffer are updated when we
copy a socket buffer and free our reference to the old one.
Another part of the kernel could also free its reference which maybe
removes the buffer completely. In that situation we would would feed
wrong information to the routing algorithm after the memory area is
written again by someone else.
Signed-off-by: Sven Eckelmann <[email protected]>
Signed-off-by: Marek Lindner <[email protected]>
Signed-off-by: Andrew Lunn <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions