commit | 4e3ae00100945d39e1f83b7c0179a114ccf55759 | [log] [tgz] |
---|---|---|
author | Erik Hugne <erik.hugne@ericsson.com> | Fri Sep 18 10:46:31 2015 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Sep 20 22:31:20 2015 -0700 |
tree | 0d911950c7ea216376f756cd1e4d33a7ce9ba449 | |
parent | aab0c0e62ec4af224d1b6b40fca65055d403400b [diff] |
tipc: reinitialize pointer after skb linearize The msg pointer into header may change after skb linearization. We must reinitialize it after calling skb_linearize to prevent operating on a freed or invalid pointer. Signed-off-by: Erik Hugne <erik.hugne@ericsson.com> Reported-by: Tamás Végh <tamas.vegh@ericsson.com> Acked-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>