Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-08

Re: [PATCH v2 net] l2tp: fix configuration passed to setup_udp_tunnel_sock()

From: David Miller <davem@davemloft.net>
Date: 2016-06-08 18:12:36

From: Guillaume Nault <redacted>
Date: Wed, 8 Jun 2016 12:59:17 +0200
Unused fields of udp_cfg must be all zeros. Otherwise
setup_udp_tunnel_sock() fills ->gro_receive and ->gro_complete
callbacks with garbage, eventually resulting in panic when used by
udp_gro_receive().
 ...
v2: use empty initialiser instead of "{ NULL }" to avoid relying on
    first field's type.

Fixes: 38fd2af24fcf ("udp: Add socket based GRO and config")
Signed-off-by: Guillaume Nault <redacted>
Applied and queued up for -stable, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help