Files
linux-stable-mirror/include/net
Sowmini Varadhan 0ffdaf5b41 net/sock: add WARN_ON(parent->sk) in sock_graft()
sock_graft() unilaterally sets up parent->sk based on the
assumption that the existing parent->sk is null. If this
condition is not true, then the existing parent->sk would
be leaked, so add a WARN_ON() to alert callers who may fall
in this category.

Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-07-08 11:16:16 +01:00
..
2017-04-05 10:15:20 +02:00
2017-04-24 12:35:56 -04:00
2017-04-14 10:06:42 +02:00
2017-04-03 19:04:48 -07:00
2017-06-15 12:12:40 -04:00
2017-06-17 22:54:01 -04:00
2017-04-13 13:19:48 -04:00
2017-06-17 22:54:00 -04:00
2017-06-15 12:12:40 -04:00