diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2015-01-12 13:38:49 +0100 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2015-02-09 11:14:17 +0100 |
commit | 044a832a7779c0638bea2d0fea901c055b995f4a (patch) | |
tree | dede82b9efbd76456e5cc88723763330f29539a5 /Documentation/pnp.txt | |
parent | cd3bafc73d11eb51cb2d3691629718431e1768ce (diff) |
xfrm: Fix local error reporting crash with interfamily tunnels
We set the outer mode protocol too early. As a result, the
local error handler might dispatch to the wrong address family
and report the error to a wrong socket type. We fix this by
setting the outer protocol to the skb after we accessed the
inner mode for the last time, right before we do the atcual
encapsulation where we switch finally to the outer mode.
Reported-by: Chris Ruehl <chris.ruehl@gtsys.com.hk>
Tested-by: Chris Ruehl <chris.ruehl@gtsys.com.hk>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'Documentation/pnp.txt')
0 files changed, 0 insertions, 0 deletions