Revert "rmnet_core: Pass correct size to skb_copy_bits"

This reverts commit bbc6122efa.

Change-Id: I2268cf469b6746b6c84274b7e1b0f403f730c1fc
This commit is contained in:
Divya Sharma 2020-10-06 08:15:02 -07:00
commit 7ce883f15f

View file

@ -582,7 +582,7 @@ static int rmnet_frag_deaggregate_one(struct sk_buff *skb,
* Probably not faster or stronger than before. But certainly
* more linear.
*/
if (skb_copy_bits(skb, 0, &__maph, sizeof(__maph)) < 0)
if (skb_copy_bits(skb, 0, &__maph, sizeof(&__maph)) < 0)
return -1;
maph = &__maph;