History

can: af_can: export can_sock_destruct()

In j1939 we need our own struct sock::sk_destruct callback. Export the generic af_can can_sock_destruct() that allows us to chain-call it.

Oleksij Rempel committed 7 years ago

Commit 975987e1 parent 5aa42772 files · +3 −1Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/can/core.h+1−0
@@ -65,5 +65,6 @@ extern void can_rx_unregister(struct net *net, struct net_device *dev, · 64 unmodified lines
6565 void *data);
6666
6767 extern int can_send(struct sk_buff *skb, int loop);
68+void can_sock_destruct(struct sock *sk);
6869
6970 #endif /* !_CAN_CORE_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t