aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2014-07-30 14:55:26 +0200
committerJohannes Berg <[email protected]>2014-09-03 11:13:14 +0200
commitbd8c78e78d5011d8111bc2533ee73b13a3bd6c42 (patch)
tree9b4c5e04fe46ab3c7287620e1d356cb0ab68eb04 /net/lapb/lapb_subr.c
parent14b058bbce9279ee432f0944ca14df69f4a0d170 (diff)
nl80211: clear skb cb before passing to netlink
In testmode and vendor command reply/event SKBs we use the skb cb data to store nl80211 parameters between allocation and sending. This causes the code for CONFIG_NETLINK_MMAP to get confused, because it takes ownership of the skb cb data when the SKB is handed off to netlink, and it doesn't explicitly clear it. Clear the skb cb explicitly when we're done and before it gets passed to netlink to avoid this issue. Cc: [email protected] [this goes way back] Reported-by: Assaf Azulay <[email protected]> Reported-by: David Spinadel <[email protected]> Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions