/* sbuslib.h: SBUS fb helper library interfaces */ #ifndef _SBUSLIB_H #define _SBUSLIB_H struct sbus_mmap_map { unsigned long voff; unsigned long poff; unsigned long size; }; #define SBUS_MMAP_FBSIZE(n) (-n) #define SBUS_MMAP_EMPTY 0x80000000 extern void sbusfb_fill_var(struct fb_var_screeninfo *var, struct device_node *dp, int bpp); struct vm_area_struct; extern int sbusfb_mmap_helper(struct sbus_mmap_map *map, unsigned long physbase, unsigned long fbsize, unsigned long iospace, struct vm_area_struct *vma); int sbusfb_ioctl_helper(unsigned long cmd, unsigned long arg, struct fb_info *info, int type, int fb_depth, unsigned long fb_size); int sbusfb_compat_ioctl(struct fb_info *info, unsigned int cmd, unsigned long arg); #endif /* _SBUSLIB_H */ : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/net/ipx
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2017-01-09 17:15:18 -0500
committerJ. Bruce Fields <bfields@redhat.com>2017-01-12 15:56:14 -0500
commit78794d1890708cf94e3961261e52dcec2cc34722 (patch)
treeade1523bd1d3ebd2dc14e46676d496a2df16f116 /net/ipx
parentdcd208697707b12adeaa45643bab239c5e90ef9b (diff)
svcrpc: don't leak contexts on PROC_DESTROY
Context expiry times are in units of seconds since boot, not unix time. The use of get_seconds() here therefore sets the expiry time decades in the future. This prevents timely freeing of contexts destroyed by client RPC_GSS_PROC_DESTROY requests. We'd still free them eventually (when the module is unloaded or the container shut down), but a lot of contexts could pile up before then. Cc: stable@vger.kernel.org Fixes: c5b29f885afe "sunrpc: use seconds since boot in expiry cache" Reported-by: Andy Adamson <andros@netapp.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/ipx')