aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorBjørn Mork <[email protected]>2010-05-06 03:44:34 +0000
committerDavid S. Miller <[email protected]>2010-05-06 21:49:59 -0700
commitccc2d97cb7c798e785c9f198de243e2b59f7073b (patch)
treec8752bd5a4fb051690ecaf9015fd0de2bb83560e /drivers/mtd/lpddr/lpddr_cmds.c
parent80ea76bb2575c426154b8d61d324197ee3592baa (diff)
ipv4: udp: fix short packet and bad checksum logging
commit 2783ef23 moved the initialisation of saddr and daddr after pskb_may_pull() to avoid a potential data corruption. Unfortunately also placing it after the short packet and bad checksum error paths, where these variables are used for logging. The result is bogus output like [92238.389505] UDP: short packet: From 2.0.0.0:65535 23715/178 to 0.0.0.0:65535 Moving the saddr and daddr initialisation above the error paths, while still keeping it after the pskb_may_pull() to keep the fix from commit 2783ef23. Signed-off-by: Bjørn Mork <[email protected]> Cc: [email protected] Acked-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions