Comment 7 for bug 1888715

Revision history for this message
Dexuan Cui (decui) wrote :

rcu_access_pointer(sk->sk_filter) is basically the same as sk->sk_filter.

If sk->sk_filter is true, the change makes no difference.
If sk->sk_filter is false, the change also drops a UDP packet with incorrect UDP checksum by "goto csum_error;". Without the change, the packet is dropped in udp_recvmsg(); with the change, the packet is dropped earlier.