Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Conflicts: drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.h9e26680733("bnxt_en: Update firmware call to retrieve TX PTP timestamp")9e518f2580("bnxt_en: 1PPS functions to configure TSIO pins")099fdeda65("bnxt_en: Event handler for PPS events") kernel/bpf/helpers.c include/linux/bpf-cgroup.ha2baf4e8bb("bpf: Fix potentially incorrect results with bpf_get_local_storage()")c7603cfa04("bpf: Add ambient BPF runtime context stored in current") drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c5957cc557d("net/mlx5: Set all field of mlx5_irq before inserting it to the xarray")2d0b41a376("net/mlx5: Refcount mlx5_irq with integer") MAINTAINERS7b637cd52f("MAINTAINERS: fix Microchip CAN BUS Analyzer Tool entry typo")7d901a1e87("net: phy: add Maxlinear GPY115/21x/24x driver") Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
commit
f4083a752a
362 changed files with 2986 additions and 1480 deletions
|
|
@ -983,6 +983,11 @@ static const struct proto_ops ieee802154_dgram_ops = {
|
|||
.sendpage = sock_no_sendpage,
|
||||
};
|
||||
|
||||
static void ieee802154_sock_destruct(struct sock *sk)
|
||||
{
|
||||
skb_queue_purge(&sk->sk_receive_queue);
|
||||
}
|
||||
|
||||
/* Create a socket. Initialise the socket, blank the addresses
|
||||
* set the state.
|
||||
*/
|
||||
|
|
@ -1023,7 +1028,7 @@ static int ieee802154_create(struct net *net, struct socket *sock,
|
|||
sock->ops = ops;
|
||||
|
||||
sock_init_data(sock, sk);
|
||||
/* FIXME: sk->sk_destruct */
|
||||
sk->sk_destruct = ieee802154_sock_destruct;
|
||||
sk->sk_family = PF_IEEE802154;
|
||||
|
||||
/* Checksums on by default */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue