[AF_PACKET]: Fix bind()/setsockopt(PACKET_RX_RING) bug and socket leak.
This problem was the bug of packet_set_ring(). packet_set_ring() removes the hook for preparation of ring buffer, but it didn't restore. Also it's leaking the refcount of sk.
Showing
Please register or sign in to comment