Skip to content
Commit 8238b218 authored by David S. Miller's avatar David S. Miller
Browse files

[NET]: Do not memcmp() over pad bytes of struct flowi.



They are not necessarily initialized to zero by the compiler,
for example when using run-time initializers of automatic
on-stack variables.

Noticed by Eric Dumazet and Patrick McHardy.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 42b6785e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment